WriteFreely Documentation Beta

Enumeration WFError

public enum WFError: Int, Error 
WFError WFError Error Error WFError->Error Int Int WFError->Int

Conforms To

Error
Int

Enumeration Cases

bad​Request

case badRequest = 400

unauthorized

case unauthorized = 401

forbidden

case forbidden = 403

not​Found

case notFound = 404

method​Not​Allowed

case methodNotAllowed = 405

gone

case gone = 410

precondition​Failed

case preconditionFailed = 412

too​Many​Requests

case tooManyRequests = 429

internal​Server​Error

case internalServerError = 500

bad​Gateway

case badGateway = 502

service​Unavailable

case serviceUnavailable = 503

unknown​Error

case unknownError = -1

could​Not​Complete

case couldNotComplete = -2

invalid​Response

case invalidResponse = -3

invalid​Data

case invalidData = -4