Explicit Error Mocking

Custom exception can be thrown when requesting a mocked endpoint.