FaastErrorNames enum
Possible FaastError names. See FaastError. To test for errors matching these names, use the static method FaastError.hasCauseWithName().
Signature:
export declare enum FaastErrorNames
Enumeration Members
Member | Value | Description |
---|---|---|
ECANCEL | "FaastCancelError" | The function invocation was cancelled by user request. |
ECONCURRENCY | "FaastConcurrencyError" | The remote cloud function failed to execute because of limited concurrency. |
ECREATE | "FaastCreateFunctionError" | Could not create the remote cloud function or supporting infrastructure. |
EEXCEPTION | "UserException" | The exception was thrown by user's remote code, not by faast.js or the cloud provider. |
EGENERIC | "VError" | Generic error. See FaastError. |
EMEMORY | "FaastOutOfMemoryError" | The remote cloud function exceeded memory limits. |
ESERIALIZE | "FaastSerializationError" | The arguments passed to the cloud function could not be serialized without losing information. |
ETIMEOUT | "FaastTimeoutError" | The remote cloud function timed out. |