\CryptoManana\Core\Abstractions\ErrorHandlingAbstractAlgorithmException

Class AbstractAlgorithmException - Abstraction for all algorithm operation related exceptions.

Summary

Methods
Properties
Constants
getFrameworkErrorCode()
setMessage()
setCode()
setFile()
setLine()
No public properties found
INTERNAL_CODE
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

INTERNAL_CODE

INTERNAL_CODE

The default framework internal error code.

Methods

getFrameworkErrorCode()

getFrameworkErrorCode() : integer

Get the default framework error code for this exception instance.

Returns

integer —

The exception's error code.

setMessage()

setMessage(string|mixed  $message) : $this

Change the exception's error message via fluent interface call.

Parameters

string|mixed $message

Set a different error message.

Returns

$this —

The exception object.

setCode()

setCode(integer  $code) : $this

Change the exception's error code via fluent interface call.

Parameters

integer $code

Set a different exception error code.

Returns

$this —

The exception object.

setFile()

setFile(string|mixed  $file) : $this

Change the file location where the exception occurred via fluent interface call.

Parameters

string|mixed $file

Set a different file path for the exception.

Returns

$this —

The exception object.

setLine()

setLine(integer  $line) : $this

Change the file location where the exception occurred via fluent interface call.

Parameters

integer $line

Set a different file line for the exception.

Returns

$this —

The exception object.