- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 24
 
Open
Description
API Problem response with HTTP status code from exception when it's valid rage of HTTP codes. But what about situation when some library throws own exceptions, with own codes (example 302, and it means that user doesn't exist)? It does't make sense.
My solution for this is to use code from exceptions only when exception implements \ZF\ApiProblem\Exception\ExceptionInterface
Originally posted by @snapshotpl at zfcampus/zf-api-problem#26
Metadata
Metadata
Assignees
Labels
No labels