Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 374 Bytes

RestlerErrorDecodable.md

File metadata and controls

16 lines (10 loc) · 374 Bytes

PROTOCOL

RestlerErrorDecodable

A protocol for the decodable error for Restler framework.

Methods

init(response:)

The initializer for the error.

Returning nil in this initializer means to the Restler framework, that decoding has failed. So the error won't be decoded if the init returns nil.

  • Parameters:
    • response: Response of the failed request.