ParseError

public struct ParseError : ParseType, Decodable, Swift.Error
extension ParseError: CustomDebugStringConvertible
extension ParseError: CustomStringConvertible
extension ParseError: LocalizedError

An object with a Parse code and message.

  • The value representing the error from the Parse Server.

    Declaration

    Swift

    public let code: Code
  • The text representing the error from the Parse Server.

    Declaration

    Swift

    public let message: String
  • An error value representing a custom error from the Parse Server.

    Declaration

    Swift

    public let otherCode: Int?
  • ParseError.Code enum contains all custom error codes that are used as code for Error for callbacks on all classes.

    See more

    Declaration

    Swift

    public enum Code : Int, Swift.Error, Codable

Encodable

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws

Decodable

  • Declaration

    Swift

    public init(from decoder: Decoder) throws

CustomDebugStringConvertible

  • Declaration

    Swift

    public var debugDescription: String { get }

CustomStringConvertible

  • Declaration

    Swift

    public var description: String { get }

LocalizedError

  • Declaration

    Swift

    public var errorDescription: String? { get }