LoggerException extends SdkException
in package

This is the Exception class for errors throwed using a logger.

Table of Contents

DUPLICATED_PARAMETER  = 'F030-L001'
LOGGING_ERROR  = 'F030-L003'
REQUIRED_CONSTANT  = 'F030-L000'
REQUIRED_PARAMETER  = 'F030-L002'
__construct() Constructor.  : mixed
__toString() Auto-invoked using echo or concatenations.  : string

Constants

DUPLICATED_PARAMETER

public mixed DUPLICATED_PARAMETER = 'F030-L001'

Methods

__construct()

Constructor.

public __construct([string $message = null ][, string $code = '' ][, Exception $previous = null ]) : mixed

Creates the exception.

Parameters
$message : string = null

The exception message

$code : string = ''

The exception code

$previous : Exception = null

The exception that precedes the current exception

Tags
see
Exception
Return values
mixed

__toString()

Auto-invoked using echo or concatenations.

public __toString() : string

Useful to log errors.

Return values
string

Search results