MoyaError

public extension MoyaError
extension MoyaError: ErrorWithCause
extension MoyaError: ErrorConvertible
  • The server response as string if any.

    Declaration

    Swift

    var responseString: String? { get }

Moya

  • Depending on error type, returns an Error object.

    Declaration

    Swift

    public var error: Swift.Error? { get }

RestError

Decodable content

  • Undocumented

    Declaration

    Swift

    public static func error(from underlying: Swift.Error) -> MoyaError