PBError Class
Specialized application error that knows what status code to return
Item Index
Methods
Methods
setLocalizationKey
(
Object
-
key
Sets the localization key for the error
Parameters:
-
key
StringThe localization key
Returns:
Object:
The PBError object
setSource
(
Object
-
err
Sets the source for the error
Parameters:
-
err
ObjectThe error source
Returns:
Object:
The PBError object