\CryptoManana\Core\Interfaces\ErrorHandlingEditableExceptionInterface

Interface EditableExceptionInterface - Interface allowing exceptions to have property setter methods.

Summary

Methods
Constants
setMessage()
setCode()
setFile()
setLine()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setMessage()

setMessage(string|mixed  $message) 

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

Parameters

string|mixed $message

Set a different error message.

setCode()

setCode(integer  $code) 

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

Parameters

integer $code

Set a different exception error code.

setFile()

setFile(string|mixed  $file) 

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

Parameters

string|mixed $file

Set a different file path for the exception.

setLine()

setLine(integer  $line) 

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

Parameters

integer $line

Set a different file line for the exception.