udf_exception Module
This module contains the exception classes that are used to represent errors that occur during the invocation of a User Data Function.
These can be imported from the fabric.functions
module.
Classes
UserDataFunctionError |
The exception/error base class for any errors raised during the invocation of a User Data Function. |
UserDataFunctionInternalError |
Represents an internal error that occurs during the execution of a user-defined function. This error is typically thrown when an unexpected error occurs during the execution of a function that is not related to an input or the user's code. |
UserDataFunctionInvalidInputError |
Represents an error that occurs when the input provided to a function is invalid. This error is typically thrown when the input provided to a function does not match the expected input type or format. |
UserDataFunctionMissingInputError |
Represents an error that occurs when a required parameter is missing from the input data provided to a function. This error is typically thrown when a parameter is expected to be present in the input data but is not found. |
UserDataFunctionResponseTooLargeError |
Represents an error that occurs when the response generated by a function is too large. This limit is currently set to 30 megabytes. |
UserDataFunctionTimeoutError |
Represents an error that occurs when a function exceeds the timeout limit set for the function. This limit is currently set to 200 seconds. |
UserThrownError |
Represents an error that is thrown by the user's code during the execution of a function. This error is typically thrown when the user's code encounters an error that is not related to the input data and can be the base class for custom errors. |