Error
Generating general application errors and categorizing the severity of the error with the types:
- trace
- debug
- info
- warn
- error
- fatal
create
_error.create(arg0: string) : ErrorException
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | string |
Return
( ErrorException )
createError
_error.createError(message: string) : Error
Description
Creates an error with an description message
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in the log. |
Return
( Error )
createException
_error.createException(message: string) : Exception
Description
Creates a exception with an description message
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in the log. |
Return
( Exception )
createThrowable
_error.createThrowable(message: string) : Throwable
Description
Creates a throwable with an description message
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in the log. |
Return
( Throwable )
data
Values
_error.data() :Description
Creates a new class Values that results from the error.
Return
( Values )
Values) : Error
_error.data(retorno:Description
Creates a new class Values that results from the error.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
retorno | Values | Values. |
Return
( Error )
debug
_error.debug(message: string) : void
Description
Return an exception and print a message with the description of the exception and it's object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
Return
( void )
_error.debug(message: string, throwable: Object) : void
Description
Print a message with the description of the debug and it's cause
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
throwable | Object | Alternative throwable to include in the debug message. |
Return
( void )
_error.debug(message: string, arg1: Throwable) : void
Description
Print a message with the description of the debug
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in the log. |
arg1 | Throwable |
Return
( void )
error
_error.error(message: string) : void
Description
Print a message of erro
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in the log. |
Return
( void )
_error.error(message: string, throwable: Object) : void
Description
Print a message with the description of the error and it's cause
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
throwable | Object | Alternative throwable to include in the error message. |
Return
( void )
_error.error(message: string, throwable: Throwable) : void
Description
Print a message with the description of the error and it's object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
throwable | Throwable | Alternative throwable to include in the error message. |
Return
( void )
fatal
_error.fatal(message: string) : void
Description
Print a message of type FATAL in the log file and in the terminal of Netuno.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
Return
( void )
_error.fatal(message: string, throwable: Object) : void
Description
Print a message of type FATAL in the log file and in the terminal of Netuno.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
throwable | Object | Alternative object to include in the log message. |
Return
( void )
_error.fatal(message: string, throwable: Throwable) : void
Description
Print a message of type FATAL in the log file and in the terminal of Netuno.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
throwable | Throwable | Alternative throwable to include in the log message. |
Return
( void )
info
_error.info(message: string) : void
Description
Print a message with the description of the debug and it's object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
Return
( void )
_error.info(message: string, throwable: Object) : void
Description
Print a message of information and a throable
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
throwable | Object | Alternative throwable to include in the information message. |
Return
( void )
_error.info(message: string, arg1: Throwable) : void
Description
Print a message of information
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in the log. |
arg1 | Throwable |
Return
( void )
is
_error.is(arg0: Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | Object |
Return
( boolean )
isError
_error.isError(arg0: Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | Object |
Return
( boolean )
isException
_error.isException(arg0: Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | Object |
Return
( boolean )
isThrowable
_error.isThrowable(arg0: Object) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | Object |
Return
( boolean )
raise
_error.raise(arg0: Object) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
arg0 | Object |
Return
( void )
trace
_error.trace(message: string) : void
Description
Returns an exception and a list of methods that caused them with an description mensagem.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in the log. |
Return
( void )
_error.trace(message: string, object: Object) : void
Description
Returns an object and a list of methods that caused them with an description mensagem.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
object | Object | Alternative object to include in the error message. |
Return
( void )
_error.trace(message: string, arg1: Throwable) : void
Description
Returns an throwable and a list of methods that caused them with an description mensagem.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
arg1 | Throwable |
Return
( void )
warn
_error.warn(message: string) : void
Description
Print a message of warning
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in the log. |
Return
( void )
_error.warn(message: string, object: Object) : void
Description
Print a message with the description of the warning and it's object
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
object | Object | Alternative object to include in the warning message. |
Return
( void )
_error.warn(message: string, throwable: Throwable) : void
Description
Print a message with the description of the warning and it's throwable
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
message | string | Message that will be presented in log. |
throwable | Throwable | Alternative throwable to include in the warning message. |
Return
( void )