ErrorCategory class
Defines standard error categories to application exceptions supported by PipServices toolkit.
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Properties
- BadRequest → String
-
- Errors due to incorrectly specified invocation parameters.
- For example: missing or incorrect parameters.
final - Errors due to incorrectly specified invocation parameters.
- Conflict → String
-
- Errors raised by conflicts between object versions that were
- posted by the user and those that are stored on the server.
final - Errors raised by conflicts between object versions that were
- FailedInvocation → String
-
Errors caused by remote calls failed due to unidenfied reasons.
final
- FileError → String
-
- Errors in read/write local disk operations.
final - Internal → String
-
- Internal errors caused by programming mistakes.
final - InvalidState → String
-
- Errors caused by incorrect object state..
- For example: business calls when the component is not ready.
final - Errors caused by incorrect object state..
- Misconfiguration → String
-
- Errors related to mistakes in user-defined configurations.
final - NoResponse → String
-
- Errors caused by remote calls timeouted and not returning results.
- It allows to clearly separate communication related problems
- from other application errors.
final - Errors caused by remote calls timeouted and not returning results.
- NotFound → String
-
Errors caused by attempts to access missing objects.
final
-
- Access errors caused by missing user identity (authentication error)
- or incorrect security permissions (authorization error).
final - Access errors caused by missing user identity (authentication error)
- Unknown → String
-
- Unknown or unexpected errors.
final - Unsupported → String
-
- Errors caused by calls to unsupported or not yet implemented functionality.
final