Bitrix API

ErrorService extends BaseService

FinalYes

Class ErrorService

Table of Contents

Methods

__clone()  : mixed
__wakeup()  : mixed
addError()  : void
clearErrors()  : void
getErrors()  : ErrorCollection
getInstance()  : static
hasErrors()  : bool
setLogErrors()  : void
setThrowExceptionOnError()  : void

Methods

addError()

public addError(Error $error) : void
Parameters
$error : Error
Tags
throws
SystemException

getErrors()

public getErrors() : ErrorCollection
Return values
ErrorCollection

getInstance()

public static getInstance() : static
Return values
static

hasErrors()

public hasErrors() : bool
Return values
bool

setLogErrors()

public setLogErrors(bool $logErrors) : void
Parameters
$logErrors : bool

setThrowExceptionOnError()

public setThrowExceptionOnError(bool $throwExceptionOnError) : void
Parameters
$throwExceptionOnError : bool

        
On this page

Search results