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 |
|
The function invocation was cancelled by user request. |
|
ECONCURRENCY |
|
The remote cloud function failed to execute because of limited concurrency. |
|
ECREATE |
|
Could not create the remote cloud function or supporting infrastructure. |
|
EEXCEPTION |
|
The exception was thrown by user's remote code, not by faast.js or the cloud provider. |
|
EGENERIC |
|
Generic error. See FaastError. |
|
EMEMORY |
|
The remote cloud function exceeded memory limits. |
|
ESERIALIZE |
|
The arguments passed to the cloud function could not be serialized without losing information. |
|
ETIMEOUT |
|
The remote cloud function timed out. |