Commit e5b51af2 authored by Thomas Persohn's avatar Thomas Persohn
Browse files

Add HTTP 412 error management

parent b705367d
......@@ -257,6 +257,7 @@ abstract class Command implements CommandInterface
case 401: throw new UnauthorizedException($response->getReasonPhrase());
case 403: throw new ForbiddenException($response->getReasonPhrase());
case 404: throw new NotFoundException($response->getReasonPhrase());
case 412: throw new ServerException($response->getReasonPhrase());
case 500: throw new ServerException($response->getReasonPhrase());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment