Skip to content

BaseException


  • Full name: \Qubus\Exception\BaseException
  • Parent class: Exception
  • This class implements: Stringable

Properties

message

Exception message.

protected string $message

file

Source filename of exception.

protected string $file

line

Source line of exception.

protected int $line

Methods

__construct

public __construct(?string $message = '', int $code = 0, ?\Throwable $previous = null): mixed

Parameters:

Parameter Type Description
$message ?string
$code int
$previous ?\Throwable

Throws:


__toString

public __toString(): string