DoDomuDojade Documentation

DisplayException extends DomainException
in package

FinalYes

Display module exceptions - contains translation KEYS

Table of Contents

Properties

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

Methods

__construct()  : mixed
failedToFetchAnnouncements()  : self
Failed to fetch announcements
failedToFetchCountdown()  : self
Failed to fetch countdown
failedToFetchDepartures()  : self
Failed to fetch tram departure data
failedToFetchQuote()  : self
Failed to fetch quote
failedToFetchWeather()  : self
Failed to fetch weather data
failedToFetchWord()  : self
Failed to fetch word
moduleNotVisible()  : self
Module is not visible/active

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

failedToFetchAnnouncements()

Failed to fetch announcements

public static failedToFetchAnnouncements() : self
Return values
self

failedToFetchCountdown()

Failed to fetch countdown

public static failedToFetchCountdown() : self
Return values
self

failedToFetchDepartures()

Failed to fetch tram departure data

public static failedToFetchDepartures() : self
Return values
self

failedToFetchQuote()

Failed to fetch quote

public static failedToFetchQuote() : self
Return values
self

failedToFetchWeather()

Failed to fetch weather data

public static failedToFetchWeather() : self
Return values
self

failedToFetchWord()

Failed to fetch word

public static failedToFetchWord() : self
Return values
self

moduleNotVisible()

Module is not visible/active

public static moduleNotVisible(string $module) : self
Parameters
$module : string
Return values
self

        
On this page

Search results