VeniceError
public enum VeniceError : Error, Equatable
Venice operation error
-
Thrown when the operation is performed on a closed handle.
Declaration
Swift
case canceled
-
Thrown when the operation is not supported.
Declaration
Swift
case operationNotSupported
-
Thrown when the operation is performed on an invalid handle.
Declaration
Swift
case invalidHandle
-
Thrown when the operation is performed on an invalid file descriptor.
Declaration
Swift
case invalidFileDescriptor
-
Thrown when another coroutine is already blocked on
poll
with this file descriptor.Declaration
Swift
case fileDescriptorBlockedInAnotherCoroutine
-
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 handle.
Declaration
Swift
case handleIsDone
-
Thrown when the operation is performed on a broken connection.
Declaration
Swift
case brokenConnection
-
Thrown when the operation is performed on a closed connection.
Declaration
Swift
case closedConnection
-
Thrown when the operation is performed with invalid arguments.
Declaration
Swift
case invalidArguments
-
Thrown when an unexpected error occurs. This should never happen in the regular flow of an application.
Declaration
Swift
case unexpectedError