DoDomuDojade Documentation

DomainException extends Exception
in package

Basic exception for domain errors

Table of Contents

Properties

$context  : array<string|int, mixed>
$errorCode  : string
$httpStatusCode  : int

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(string $message, string $errorCode[, int $httpStatusCode = 400 ][, array<string|int, mixed> $context = [] ][, Throwable|null $previous = null ]) : mixed
Parameters
$message : string
$errorCode : string
$httpStatusCode : int = 400
$context : array<string|int, mixed> = []
$previous : Throwable|null = null

        
On this page

Search results