Enum netsblox_ast::ProjectError
source · pub enum ProjectError {
Show 38 variants
NoRoot,
NoStage,
RoleNoName,
RoleNoContent,
RefMissingId,
ValueNotEvaluated,
UpvarNotConst,
UnnamedGlobal,
GlobalsWithSameName {
name: String,
},
UnnamedEntity,
EntitiesWithSameName {
name: String,
},
UnnamedField,
FieldNoValue {
name: String,
},
FieldsWithSameName {
name: String,
},
BlockWithoutType,
BlockUnknownType,
BlockChildCount {
needed: usize,
got: usize,
},
BlockMissingOption,
BlockOptionUnknown {
got: String,
},
ImageWithoutId,
ImagesWithSameId {
id: String,
},
ImageWithoutContent {
id: String,
},
ImageUnknownFormat {
id: String,
content: String,
},
CostumeIdFormat {
id: String,
},
CostumeUndefinedRef {
id: String,
},
CostumesWithSameName {
name: String,
},
BoolNoValue,
BoolUnknownValue {
got: String,
},
ColorUnknownValue {
color: String,
},
CustomBlockWithoutName,
CustomBlockWithoutInputsMeta,
CustomBlockInputsMetaCorrupted,
CustomBlockWithoutType,
CustomBlockUnknownType {
ty: String,
},
MessageTypeMissingName,
MessageTypeMissingFields {
msg_type: String,
},
MessageTypeFieldEmpty {
msg_type: String,
},
MessageTypeMultiplyDefined {
msg_type: String,
},
}Variants§
NoRoot
NoStage
RoleNoName
RoleNoContent
RefMissingId
ValueNotEvaluated
UpvarNotConst
UnnamedGlobal
GlobalsWithSameName
UnnamedEntity
EntitiesWithSameName
UnnamedField
FieldNoValue
FieldsWithSameName
BlockWithoutType
BlockUnknownType
BlockChildCount
BlockMissingOption
BlockOptionUnknown
ImageWithoutId
ImagesWithSameId
ImageWithoutContent
ImageUnknownFormat
CostumeIdFormat
CostumeUndefinedRef
CostumesWithSameName
BoolNoValue
BoolUnknownValue
ColorUnknownValue
CustomBlockWithoutName
CustomBlockWithoutInputsMeta
CustomBlockInputsMetaCorrupted
CustomBlockWithoutType
CustomBlockUnknownType
MessageTypeMissingName
MessageTypeMissingFields
MessageTypeFieldEmpty
MessageTypeMultiplyDefined
Trait Implementations§
source§impl Debug for ProjectError
impl Debug for ProjectError
source§impl From<ProjectError> for ErrorKind
impl From<ProjectError> for ErrorKind
source§fn from(e: ProjectError) -> Self
fn from(e: ProjectError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ProjectError
impl Send for ProjectError
impl Sync for ProjectError
impl Unpin for ProjectError
impl UnwindSafe for ProjectError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more