fail

fun fail(errorNumber: A_BasicObject)

Fail from the suspended Primitive, resuming its fiber.

Parameters

errorNumber

The A_BasicObject to provide as the reason for failing the primitive.


fun fail(errorCode: AvailErrorCode)

Fail from the suspended Primitive, resuming its fiber.

Parameters

errorCode

The AvailErrorCode whose numeric code is used as the reason for failing the primitive.