Skip to main content

TypeArgumentError

enum TypeArgumentError : Enum<TypeArgumentError>

An error with a type argument

BCS

The BCS serialized form for this type is defined by the following ABNF:

type-argument-error = type-not-found / constraint-not-satisfied
type-not-found = %d00
constraint-not-satisfied = %d01

Entries

TYPE_NOT_FOUNDTYPE_NOT_FOUND
A type was not found in the module specified
CONSTRAINT_NOT_SATISFIEDCONSTRAINT_NOT_SATISFIED
A type provided did not match the specified constraint

Properties

NameSummary
entriesval entries: EnumEntries<TypeArgumentError>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
nameval name: String
ordinalval ordinal: Int
valueval value: UByte

Functions

NameSummary
valueOffun valueOf(value: String): TypeArgumentError
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
valuesfun values(): Array<TypeArgumentError>
Returns an array containing the constants of this enum type, in the order they're declared.

CONSTRAINT_NOT_SATISFIED

CONSTRAINT_NOT_SATISFIED

A type provided did not match the specified constraint

Properties

NameSummary
nameval name: String
ordinalval ordinal: Int
valueval value: UByte

TYPE_NOT_FOUND

TYPE_NOT_FOUND

A type was not found in the module specified

Properties

NameSummary
nameval name: String
ordinalval ordinal: Int
valueval value: UByte