Bitrix API

ValidationError extends Error

Table of Contents

Methods

__construct()  : mixed
getFailedValidator()  : ValidatorInterface|null
hasCode()  : bool
setCode()  : static
setFailedValidator()  : static

Methods

__construct()

public __construct(mixed $message[, mixed $code = 0 ][, mixed $customData = null ][, ValidatorInterface|null $failedValidator = null ]) : mixed
Parameters
$message : mixed
$code : mixed = 0
$customData : mixed = null
$failedValidator : ValidatorInterface|null = null

setCode()

public setCode(int|string $code) : static
Parameters
$code : int|string
Return values
static

        
On this page

Search results