Bitrix API

Errorable

Table of Contents

Methods

getErrorByCode()  : Error
Getting once error with the necessary code.
getErrors()  : array<string|int, Error>
Getting array of errors.

Methods

getErrorByCode()

Getting once error with the necessary code.

public getErrorByCode(string $code) : Error
Parameters
$code : string

Code of error.

Return values
Error

getErrors()

Getting array of errors.

public getErrors() : array<string|int, Error>
Return values
array<string|int, Error>

        
On this page

Search results