TranslatedException
extends Exception
in package
TranslatedException
An Exception that translates it's message.
Table of Contents
Methods
- __construct() : mixed
- Translating exception constructor with mandatory messageId.
Methods
__construct()
Translating exception constructor with mandatory messageId.
public
__construct(string|array<string|int, mixed> $messageId[, int $code = 0 ]) : mixed
Parameters
- $messageId : string|array<string|int, mixed>
-
message ID or array of message ID and parameters
- $code : int = 0