class AppException
A class that represents an application error, including a localizable message.
class AppException extends Error;
Notes
- AppException classes should be created using the static AppException.type() factory method, which stores the error name and message format to be used by the new constructor.
Static members
AppException.type() static
Creates a new AppException class with the provided error name and message format string.
Instance members
name
The name passed to the AppException.type() call.message
The error message, formatted using the format string passed to the AppException.type() call, and constructor arguments.data
The arguments passed to the AppException constructor.
