Share via


UserThrownError Class

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.

Constructor

UserThrownError(message: str = 'User Exception Thrown', properties: dict = None)

Parameters

Name Description
message
str

An optional message describing the exception. Defaults to "User Exception Thrown".

Default value: User Exception Thrown
properties

An optional dictionary containing additional properties related to the exception.

Default value: None