ParseException

open class ParseException : Exception

An exception thrown when failing to parse an object.

  • Initializes an Exception instance.

    Declaration

    Swift

    public init(error: ParseError, message: String, stackTrace: [String]?)

    Parameters

    error

    The error causing the exception.

    message

    A human-readable message explaining the error.

    stackTrace

    The stack trace at the time the exception was thrown. Defaults to Thread.callStackSymbols.