RSDValidationError

public enum RSDValidationError : Error

RSDValidationError errors are thrown during validation of a task, step, etc. Usually this happens during the decoding of the task or when the task is first started.

  • Attempting to load a section, task, or input form with non-unique identifiers.

    Declaration

    Swift

    case notUniqueIdentifiers(String)
  • The image could not be found in the resource bundle.

    Declaration

    Swift

    case invalidImageName(String)
  • The given duration is invalid.

    Declaration

    Swift

    case invalidDuration(String)
  • The factory cannot decode an object because the class type is undefined.

    Declaration

    Swift

    case undefinedClassType(String)
  • Unsupported data type.

    Declaration

    Swift

    case invalidType(String)
  • Expected identifier was not found.

    Declaration

    Swift

    case identifierNotFound(Any, String, String)
  • A forced optional unwrapped with a nil value.

    Declaration

    Swift

    case unexpectedNullObject(String)
  • The domain of the error.

    Declaration

    Swift

    public static var errorDomain: String { get }
  • The error code within the given domain.

    Declaration

    Swift

    public var errorCode: Int { get }
  • The user-info dictionary.

    Declaration

    Swift

    public var errorUserInfo: [String : Any] { get }