* @return void */ public function __construct( $message, $code = 0, ?\Throwable $previous = null ) { // Make sure everything is assigned properly parent::__construct( $message, $code, $previous ); } /** * Returns a custom string representation of the exception object. * @author Affilizz * @return String The string representation of the exception object. */ public function __toString() { return __CLASS__ . ': [ ' . $this->code . '] ' . $this->message . '' . "\n"; } }