ErrorResponseExceptionInterface
in
Interface used to create an exception from an error response
Table of Contents
Methods
- fromCommand() : self
- Create an exception for a command based on a command and an error response definition
Methods
fromCommand()
Create an exception for a command based on a command and an error response definition
public
static fromCommand(CommandInterface $command, Response $response) : self
Parameters
- $command : CommandInterface
-
Command that was sent
- $response : Response
-
The error response