pub enum ProjectError {
Show 41 variants NoRoot, UnnamedRole, ValueNotEvaluated { role: String, entity: Option<String>, }, InvalidJson { reason: String, }, NoRoleContent { role: String, }, NoStageDef { role: String, }, CustomBlockWithoutName { role: String, entity: Option<String>, }, CustomBlockWithoutType { role: String, entity: Option<String>, sig: String, }, CustomBlockUnknownType { role: String, entity: Option<String>, sig: String, ty: String, }, CustomBlockWithoutCode { role: String, entity: Option<String>, sig: String, }, ImageWithoutId { role: String, }, ImagesWithSameId { role: String, id: String, }, ImageWithoutContent { role: String, id: String, }, ImageUnknownFormat { role: String, id: String, content: String, }, EntitiesWithSameName { role: String, name: String, }, CostumeIdFmt { role: String, entity: String, id: String, }, CostumeUndefinedRef { role: String, entity: String, id: String, }, CostumesWithSameName { role: String, entity: String, name: String, }, UnnamedGlobal { role: String, }, GlobalNoValue { role: String, name: String, }, GlobalsWithSameName { role: String, name: String, }, UnnamedField { role: String, entity: String, }, FieldNoValue { role: String, entity: String, name: String, }, FieldsWithSameName { role: String, entity: String, name: String, }, ListItemNoValue { role: String, entity: String, }, BoolNoValue { role: String, entity: String, }, BoolUnknownValue { role: String, entity: String, value: String, }, UnnamedEntity { role: String, }, UnknownBlockMetaType { role: String, entity: String, meta_type: String, }, BlockWithoutType { role: String, entity: String, }, BlockChildCount { role: String, entity: String, block_type: String, needed: usize, got: usize, }, BlockMissingOption { role: String, entity: String, block_type: String, }, BlockOptionUnknown { role: String, entity: String, block_type: String, got: String, }, InvalidBoolLiteral { role: String, entity: String, }, NonConstantUpvar { role: String, entity: String, block_type: String, }, FailedToParseColor { role: String, entity: String, color: String, }, MessageTypeMissingName { role: String, }, MessageTypeNameEmpty { role: String, }, MessageTypeMissingFields { role: String, msg_type: String, }, MessageTypeFieldEmpty { role: String, msg_type: String, }, MessageTypeMultiplyDefined { role: String, msg_type: String, },
}

Variants

NoRoot

UnnamedRole

ValueNotEvaluated

Fields

role: String
entity: Option<String>

InvalidJson

Fields

reason: String

NoRoleContent

Fields

role: String

NoStageDef

Fields

role: String

CustomBlockWithoutName

Fields

role: String
entity: Option<String>

CustomBlockWithoutType

Fields

role: String
entity: Option<String>
sig: String

CustomBlockUnknownType

Fields

role: String
entity: Option<String>
sig: String
ty: String

CustomBlockWithoutCode

Fields

role: String
entity: Option<String>
sig: String

ImageWithoutId

Fields

role: String

ImagesWithSameId

Fields

role: String
id: String

ImageWithoutContent

Fields

role: String
id: String

ImageUnknownFormat

Fields

role: String
id: String
content: String

EntitiesWithSameName

Fields

role: String
name: String

CostumeIdFmt

Fields

role: String
entity: String
id: String

CostumeUndefinedRef

Fields

role: String
entity: String
id: String

CostumesWithSameName

Fields

role: String
entity: String
name: String

UnnamedGlobal

Fields

role: String

GlobalNoValue

Fields

role: String
name: String

GlobalsWithSameName

Fields

role: String
name: String

UnnamedField

Fields

role: String
entity: String

FieldNoValue

Fields

role: String
entity: String
name: String

FieldsWithSameName

Fields

role: String
entity: String
name: String

ListItemNoValue

Fields

role: String
entity: String

BoolNoValue

Fields

role: String
entity: String

BoolUnknownValue

Fields

role: String
entity: String
value: String

UnnamedEntity

Fields

role: String

UnknownBlockMetaType

Fields

role: String
entity: String
meta_type: String

BlockWithoutType

Fields

role: String
entity: String

BlockChildCount

Fields

role: String
entity: String
block_type: String
needed: usize
got: usize

BlockMissingOption

Fields

role: String
entity: String
block_type: String

BlockOptionUnknown

Fields

role: String
entity: String
block_type: String
got: String

InvalidBoolLiteral

Fields

role: String
entity: String

NonConstantUpvar

Fields

role: String
entity: String
block_type: String

FailedToParseColor

Fields

role: String
entity: String
color: String

MessageTypeMissingName

Fields

role: String

MessageTypeNameEmpty

Fields

role: String

MessageTypeMissingFields

Fields

role: String
msg_type: String

MessageTypeFieldEmpty

Fields

role: String
msg_type: String

MessageTypeMultiplyDefined

Fields

role: String
msg_type: String

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.