Error type.
type Error
= Error String String
| SystemError Node.Error.Code { message : String , stack : String , syscall : String , path : Maybe String , address : Maybe String , port_ : Maybe String }Error union type.
message : Node.Error.Error -> StringExtract the message from an Error.
decoder : Json.Decode.Decoder Node.Error.ErrorError decoder.
fromValue : Json.Decode.Value -> Node.Error.ErrorDecode an Error from a Value.
type Code
= ArgumentListTooLong
| PermissionDenied
| AddressInUse
| AddressNotAvailable
| AddressFamilyNotSupported
| ResourceTemporarilyUnavailable
| ConnectionAlreadyInProgress
| InvalidExchange
| BadFileDescriptor
| FileDescriptorInBadState
| BadMessage
| InvalidRequestDescriptor
| InvalidRequestCode
| InvalidSlot
| DeviceOrResourceBusy
| OperationCancelled
| NoChildProcesses
| ChannelNumberOutOfRange
| CommunicationErrorOnSend
| ConnectionAborted
| ConnectionRefused
| ConnectionReset
| ResourceDeadlockAvoided
| DestinationAddressRequired
| ArgumentOutOfDomain
| DiskQuotaExceeded
| FileExists
| BadAddress
| FileTooLarge
| HostDown
| HostUnreachable
| IdentifierRemoved
| IllegalByteSequence
| OperationInProgress
| InteruptedFunctionCall
| InvalidArgument
| InputOutput
| SocketConnected
| IsADirectory
| NamedTypeFile
| KeyExpired
| KeyRejected
| KeyRevoked
| Level2Halted
| Level2NotSynchronized
| Level3Halted
| CannotAccessLibrary
| LibraryCorrupted
| TooManyLibraries
| LibSectionCorrupted
| CannotExecuteLibrary
| TooManyLevelsOfSymbolicLinks
| WrongMediumType
| TooManyOpenFiles
| TooManyLinks
| MessageTooLong
| MultihopAttempted
| FilenameTooLong
| NetworkDown
| ConnectionAbortedByNetwork
| NetworkUnreachable
| NoBufferSpaceAvailable
| NoDataAvailable
| NoDevice
| NoSuchFileOrDirectory
| ExecuteFormatError
| RequiredKeyNotAvailable
| NoLocksAvailable
| NoLink
| NoMedium
| NotEnoughSpace
| NoMessage
| NotOnNetwork
| PackageNotInstalled
| ProtocolNotAvailable
| NoStreamResources
| NotStream
| FunctionNotImplemented
| BlockDeviceRequired
| SocketNotConnected
| NotADirectory
| DirectoryNotEmpty
| NotSocket
| OperationNotSupported
| InappropriateIOControlOperation
| NameNotUniqueOnNetwork
| NoDeviceOrAddress
| OperationNotSupportedOnSocket
| ValueTooLarge
| OperationNotPermitted
| ProtocolFamilyNotAvailable
| BrokenPipe
| Protocol
| ProtocolNotSupported
| WrongProtocolForSocket
| ResultTooLarge
| RemoteAddressChanged
| ObjectRemote
| RemoteIO
| RestartCall
| ReadOnlyFileSystem
| TransportEndpointShutdown
| InvalidSeek
| SocketNotSupported
| NoProcess
| StaleFileHandle
| StreamPipe
| TimerExpired
| ConnectionTimedOut
| TextFileBusy
| StructureNeedsCleaning
| ProtocolDriverNotAttached
| TooManyUsers
| OperationWouldBlock
| ImproperLink
| ExchangeFull Error code union type.