Skip to content

OTPPointValidationError

dsmurfin edited this page Aug 28, 2021 · 2 revisions

OTPPointValidationError

Point Validation Error

public enum OTPPointValidationError: LocalizedError 

Enumerates all possible Point parsing errors.

Inheritance

LocalizedError

Enumeration Cases

invalidPointNumber

The point number is out-of-range.

case invalidPointNumber

invalidGroupNumber

The group number is out-of-range.

case invalidGroupNumber

invalidSystemNumber

The system number is out-of-range.

case invalidSystemNumber

invalidPriority

The priority is out-of-range.

case invalidPriority

exists

A point already exists with this OTPAddress and Priority.

case exists

notExists

There are no points with this OTPAddress and optionally Priority.

case notExists(priority: Bool)

moduleExists

This OTPPoint already contains an OTPModule with this OTPModuleIdentifier.

case moduleExists

moduleSomeExist

Some OTPPoints already contain an OTPModule with this OTPModuleIdentifier.

case moduleSomeExist

moduleNotExists

This OTPPointdoes not contain an OTPModule with this OTPModuleIdentifier.

case moduleNotExists

moduleSomeNotExist

Some OTPPoints with this OTPAddress do not contain an OTPModule with this OTPModuleIdentifier

case moduleSomeNotExist

moduleAssociatedExists

It is not possible to remove this OTPModule until all associated modules have also been removed.

case moduleAssociatedExists

Properties

logDescription

A human-readable description of the error.

public var logDescription: String 
Clone this wiki locally