SaleskingException class

since 1.0.0
package SalesKing PHP SDK

 Methods

constructs a new salesking exception

__construct(string $code, string $message, mixed $errors) 

since 1.0.0

Parameters

$code

string

error code

$message

string

error message

$errors

mixed

additional error information

__toString()

__toString() 

inherited_from Exception::__toString()

getCode()

getCode() 

inherited_from Exception::getCode()

Return additional error information

getErrors() : mixed

since 1.0.0

Returns

mixed

getFile()

getFile() 

inherited_from Exception::getFile()

getLine()

getLine() 

inherited_from Exception::getLine()

getMessage()

getMessage() 

inherited_from Exception::getMessage()

getPrevious()

getPrevious() 

inherited_from Exception::getPrevious()

getTrace()

getTrace() 

inherited_from Exception::getTrace()

getTraceAsString()

getTraceAsString() 

inherited_from Exception::getTraceAsString()

 Properties

 

internal error code

$code : string

since 1.0.0
 

additional error information

$errors : mixed

since 1.0.0
 

error message

$message : string

since 1.0.0