Class

eZ\Publish\Core\REST\Client\Input\Parser\ErrorMessage

class ErrorMessage extends BaseParser

Parser for ErrorMessage.

Methods

setRequestParser(RequestParser $requestParser)

from BaseParser
Exception|ErrorMessage parse(array $data, ParsingDispatcher $parsingDispatcher)

Parse input structure.

Details

in BaseParser at line 22
public setRequestParser(RequestParser $requestParser)

Parameters

RequestParser $requestParser

at line 42
public Exception|ErrorMessage parse(array $data, ParsingDispatcher $parsingDispatcher)

Parse input structure.

Parameters

array $data
ParsingDispatcher $parsingDispatcher

Return Value

Exception|ErrorMessage