Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

URLEncodedFormEncoder_Error

mattt edited this page Sep 18, 2020 · 2 revisions

URLEncodedFormEncoder.Error

URLEncodedFormEncoder error.

public enum Error

Inheritance

Swift.Error

Enumeration Cases

invalidRootObject

An invalid root object was created by the encoder. Only keyed values are valid.

case invalidRootObject(:​ String)

Properties

asAFError

Returns the instance cast as an AFError.

var asAFError:​ AFError?

Methods

asAFError(orFailWith:​file:​line:​)

Returns the instance cast as an AFError. If casting fails, a fatalError with the specified message is thrown.

public func asAFError(orFailWith message:@autoclosure () -> String, file:​ StaticString = #file, line:​ UInt = #line) -> AFError
Types
Protocols
Global Typealiases
Clone this wiki locally