AvailErrorCode

enum AvailErrorCode : Enum<AvailErrorCode>

AvailErrorCode is an enumeration of all possible failures of operations on Avail objects.

Author

Todd L Smith

Parameters

code

The numeric error code.

Entries

Link copied to clipboard

A reference to a Java method is not uniquely resolvable for the given pojo type and parameter types.

Link copied to clipboard

An attempt was made to modify a finalJava field.

Link copied to clipboard

A reference to a Java field is not uniquely resolvable for the given pojo type.

Link copied to clipboard

The indicated Java field is not visible or does not exist.

Link copied to clipboard

Marshaling an Avail object to/from a Java counterpart failed.

Link copied to clipboard

The indicated Java method or constructor is not visible or does not exist.

Link copied to clipboard

A pojo type is abstract and therefore cannot be instantiated or have a constructor bound to a function.

Link copied to clipboard

A Java class specified by name was either not found by the runtime system or not available for reflection.

Link copied to clipboard

A path expression was invalid.

Link copied to clipboard

At least one option was illegal, or possibly some combination of options were illegal.

Link copied to clipboard

An aggregation non-atomic operation succeeded only partially.

Link copied to clipboard

The specified path names a directory that is not empty.

Link copied to clipboard

The specified path names an existing file.

Link copied to clipboard

The specified path does not name an existing file.

Link copied to clipboard

An external process could not be launched.

Attempted to create a supercast from a base expression that yields a value of type top or bottom.

Attempted to create a supercast whose base expression is also a supercast phrase.

Attempted to create a supercast from a base expression that yields a value of type top or bottom.

Link copied to clipboard

A proposed sequence contains one or more invalid statements.

Link copied to clipboard

The block expression failed compilation.

Link copied to clipboard

The block expression references outers, but must not.

Link copied to clipboard

A block expression is invalid.

Link copied to clipboard

A proposed block expression contains one or more invalid statements.

Link copied to clipboard

MessageSplitter encountered inconsistent argument reordering indicators in a message name. Also indicates when an attempt is made to create a permuted list with an invalid or identity permutation. Also indicates an invalid attempt to combine a bundle with a differently permuted list to form a send phrase.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A value was passed that exceeded the allowed numeric range, either Int, Long, or some other limit imposed by the operating system or virtual machine.

Link copied to clipboard

An attempt was made to perform some destructive operation with a valid handle that was not opened for write access.

Link copied to clipboard

An attempt was made to read through a valid handle that was not opened for read access.

A fiber produced a result of an incorrect type, in violation of its fiber type.

Link copied to clipboard

A fiber attempted to join itself.

Link copied to clipboard

The fiber being interrogated has not (or did not) produce a result.

Link copied to clipboard

The fiber being examined has already been terminated.

A variable which has write reactors was written when write tracing was not active for the current fiber.

Link copied to clipboard

The resolved definition is an abstract definition.

Link copied to clipboard

The resolved definition is a forward definition.

Link copied to clipboard

More than one method definition satisfies the supplied criteria.

Link copied to clipboard

No method definition satisfies the supplied criteria.

Link copied to clipboard

The continuation whose primitive failure variable is set to this value is no longer eligible to run an unwind handler (because it already has or is currently doing so).

Link copied to clipboard

There are no exception handling continuations anywhere in the call chain.

Link copied to clipboard

The continuation cannot be marked as ineligible to handle an exception (because its state is incorrect).

Link copied to clipboard

The continuation whose primitive failure variable is set to this value is no longer eligible to run an exception handler (because it already has, is currently doing so, or has successfully run its guarded function to completion).

Link copied to clipboard

The result of a method send disagreed with the expected type.

Link copied to clipboard

An up arrow ("↑") must only occur after an underscore ("_").

Link copied to clipboard

An attempt to transition the current fiber's trace mode was illegal.

The VM does not normally instantiate continuations for infallible primitive functions, so for conceptual consistency such continuations are disallowed.

Link copied to clipboard

It seems that a prefix function did not set up things the way that the corresponding macro body expected. Alternatively, a prefix function may notice that a previous prefix function behaved unexpectedly.

Link copied to clipboard

A module already has an atom associated with a particular name.

Link copied to clipboard

Cannot overwrite or clear an initialized write-once variable.

Link copied to clipboard

The method is sealed at the specified parameters type.

Link copied to clipboard

The current fiber attempted to reject the current parse, but it isn't actually running a semantic restriction.

Link copied to clipboard

Module loading is over. The interpreter is now operating in runtime mode. This usually means that an attempt was made to modify module metadata at runtime.

Link copied to clipboard

An attempt to read a field of an object or object type was unsuccessful because that field is not present.

Link copied to clipboard

A macrobody must produce a phrase.

A macro's prefix function must restrict each parameter to be at least as specific as a phrase.

Link copied to clipboard

A styling operation was attempted, but the current fiber does not have permission to apply styles.

Link copied to clipboard

The current fiber attempted to determine the current macro name, the name (atom) of a send phrase which was undergoing macro substitution, but this fiber is not performing a macro substitution.

Link copied to clipboard

The current fiber attempted to accept the current parse, but it isn't actually running a semantic restriction.

An attempt was made to add a prefix function to a message bundle, but its index was not between 1 and the number of section markers (§) in the bundle's name.

Link copied to clipboard

The module is currently in a setPhase where it's compiling (or loading) the next statement to execute, and as part of the compilation or loading it attempted to execute a primitive that would add a definition.

Link copied to clipboard

A continuation was being constructed, but the wrong number of stack slots was provided for the given function.

Link copied to clipboard

A macro prefix function is invoked when a potential macro site reaches certain checkpoints. Only the macro body may return a phrase. One of the prefix functions did not have return type ⊤.

Link copied to clipboard

A numbered choice expression should have its corresponding argument typed as a subtype of 1..N where N is the number of listed choices.

Link copied to clipboard

A Double value not-a-number or Float value not-a-number cannot be converted to an extended integer (neither truncation, floor, nor ceiling).

A vertical bar (|) may only occur after a keyword, operator, or guillemet group which has no arguments or subgroups.

Link copied to clipboard

An alternation must not contain arguments. It must comprise only simple expressions and simple groups.

A double question mark (⁇) may only occur after a keyword, operator, or guillemet group which has no arguments or subgroups.

An expression followed by a tilde (~) must contain only lower case characters.

A question mark (?) may only occur after a guillemet group which has no arguments or subgroups.

An octothorp (#) may only occur after a guillemet group which has no arguments or an ellipsis (…).

Link copied to clipboard

An argument type for a counting group («...»#) must be a subtype of boolean.

Link copied to clipboard

An argument type for a boolean group («...»?) must be a subtype of boolean.

Link copied to clipboard

The method name is invalid because an operator character did not follow a backquote (`).

Link copied to clipboard

The method name is not well-formed because it does not have the canonically simplest representation.

Link copied to clipboard

The method name is invalid because it has unmatched guillemets («»).

Link copied to clipboard

The method name is invalid because it uses the double-dagger (‡) incorrectly.

Link copied to clipboard

A method's argument type was inconsistent with a complex guillemet group's specific requirements. In particular, the corresponding argument position must be a tuple of tuples whose sizes range from the number of argument subexpressions left of the double-dagger, up to the number of argument subexpressions on both sides of the double-dagger.

Link copied to clipboard

A special atom was supplied where forbidden.

A signature was added that had stronger argument types, but the result type was not correspondingly stronger.

Link copied to clipboard

An attempt was made to add a signature with the same argument types as an existing signature.

An exclamation mark (!) may only occur after a guillemet group containing an alternation.

Cannot take a reference to this kind of declaration.

Cannot assign to this kind of declaration.

Link copied to clipboard

There are multiple true names associated with the string.

Link copied to clipboard

A macrobody must restrict each parameter to be at least as specific as a phrase.

Link copied to clipboard

A special object number is invalid.

Link copied to clipboard

A method's argument type was inconsistent with a special object specific requirements.

The specified type restriction function should expect types as arguments in order to check the validity (and specialize the result) of a call site.

Link copied to clipboard

A computation would produce a value too large to represent.

Link copied to clipboard

An attempt was made to extract the initialization expression from a declaration, but the declaration doesn't happen to have one.

Link copied to clipboard

An attempt was made to add a styler to a definition, but a styler was already added to that definition in the current module.

Link copied to clipboard

A primitive name is invalid.

Link copied to clipboard

A resource handle was invalid for some particular use.

Link copied to clipboard

The operation was forbidden by the platform or the Java security manager because of insufficient user privilege.

Link copied to clipboard

An I/O error has occurred.

Link copied to clipboard

A size range's lower bound must be non-negative (>=0).

Link copied to clipboard

A key was not present in a map.

Link copied to clipboard

The wrong number or types of outers were specified for creation of a function from a raw function.

Link copied to clipboard

No method exists for the specified name.

Link copied to clipboard

The specified type is not a finite enumeration of values.

Link copied to clipboard

The module is permanently closed and does not support mutative operations any longer.

Link copied to clipboard

The requested operation is not currently supported on this platform.

Link copied to clipboard

Continuation expected a stronger type.

A method definition did not declare the same return type as its forward declaration.

Link copied to clipboard

Incorrect argument type.

Link copied to clipboard

Incorrect number of arguments.

Link copied to clipboard

Subscript out of bounds.

Link copied to clipboard

No such fiber variable.

Cannot swap the contents of two differently typed variables.

Link copied to clipboard

Cannot write an incorrectly typed value into a variable or pojo.

Link copied to clipboard

Cannot read from an unassigned variable.

Link copied to clipboard

Cannot divide two infinities.

Link copied to clipboard

Cannot divide by zero.

Link copied to clipboard
Link copied to clipboard

Cannot subtractinfinities of unlike sign.

Link copied to clipboard

Cannot A_Number.plusCanDestroy add} infinities of unlike sign.

Link copied to clipboard

Operation is required to fail.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun nativeCode(): Int

Answer the numeric error code as a Java Int.

Link copied to clipboard
fun numericCode(): A_Number

Answer the numeric error code as an Avail.

Properties

Link copied to clipboard
val code: Int

The numeric error code.

Link copied to clipboard
open val isCausedByInstructionFailure: Boolean

Can the AvailErrorCode result from failure of an L1Operation?

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int