DataError

open class DataError: ErrorBase

Abstract base class for data exceptions.

  • Can the message property be safely delivered to untrusted clients.

    Declaration

    Swift

    final public var safeMessage: Bool = false
  • Default initializer.

    Declaration

    Swift

    override public init()
  • Mark this exception as having a message, that can be safely delivered to untrusted clients.

    Declaration

    Swift

    open func safe() -> DataError

    Return Value

    This exception.