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(name, format) staticCreates a new AppException class with the provided error name and message format string.
Instance Members
- nameThe name passed to the AppException.type() call.
- messageThe error message, formatted using the format string passed to the AppException.type() call, and constructor arguments.
- dataThe arguments passed to the AppException constructor.