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.