VeniceError

public enum VeniceError : Error, Equatable

Venice operation error

  • Thrown when the operation is performed within a canceled coroutine.

    Declaration

    Swift

    case canceledCoroutine
  • Thrown when the operation is performed on an invalid file descriptor.

    Declaration

    Swift

    case invalidFileDescriptor
  • Thrown when the operation reaches the deadline.

    Declaration

    Swift

    case deadlineReached
  • Thrown when the system doesn’t have enough memory to perform the operation.

    Declaration

    Swift

    case outOfMemory
  • Thrown when the operation is performed on an done channel.

    Declaration

    Swift

    case doneChannel
  • Thrown when a read operation fails.

    Declaration

    Swift

    case readFailed
  • Thrown when a write operation fails.

    Declaration

    Swift

    case writeFailed
  • Thrown when an unexpected error occurs. This should never happen in the regular flow of an application.

    Declaration

    Swift

    case unexpectedError