enum

WasiError

Inherits Enum / Comparable / Value / Object

Constants

SUCCESS = 0_u16
TOOBIG = 1_u16
ACCES = 2_u16
ADDRINUSE = 3_u16
ADDRNOTAVAIL = 4_u16
AFNOSUPPORT = 5_u16
AGAIN = 6_u16
ALREADY = 7_u16
BADF = 8_u16
BADMSG = 9_u16
BUSY = 10_u16
CANCELED = 11_u16
CHILD = 12_u16
CONNABORTED = 13_u16
CONNREFUSED = 14_u16
CONNRESET = 15_u16
DEADLK = 16_u16
DESTADDRREQ = 17_u16
DOM = 18_u16
DQUOT = 19_u16
EXIST = 20_u16
FAULT = 21_u16
FBIG = 22_u16
HOSTUNREACH = 23_u16
IDRM = 24_u16
ILSEQ = 25_u16
INPROGRESS = 26_u16
INTR = 27_u16
INVAL = 28_u16
IO = 29_u16
ISCONN = 30_u16
ISDIR = 31_u16
LOOP = 32_u16
MFILE = 33_u16
MLINK = 34_u16
MSGSIZE = 35_u16
MULTIHOP = 36_u16
NAMETOOLONG = 37_u16
NETDOWN = 38_u16
NETRESET = 39_u16
NETUNREACH = 40_u16
NFILE = 41_u16
NOBUFS = 42_u16
NODEV = 43_u16
NOENT = 44_u16
NOEXEC = 45_u16
NOLCK = 46_u16
NOLINK = 47_u16
NOMEM = 48_u16
NOMSG = 49_u16
NOPROTOOPT = 50_u16
NOSPC = 51_u16
NOSYS = 52_u16
NOTCONN = 53_u16
NOTDIR = 54_u16
NOTEMPTY = 55_u16
NOTRECOVERABLE = 56_u16
NOTSOCK = 57_u16
NOTSUP = 58_u16
NOTTY = 59_u16
NXIO = 60_u16
OVERFLOW = 61_u16
OWNERDEAD = 62_u16
PERM = 63_u16
PIPE = 64_u16
PROTO = 65_u16
PROTONOSUPPORT = 66_u16
PROTOTYPE = 67_u16
RANGE = 68_u16
ROFS = 69_u16
SPIPE = 70_u16
SRCH = 71_u16
STALE = 72_u16
TIMEDOUT = 73_u16
TXTBSY = 74_u16
XDEV = 75_u16
NOTCAPABLE = 76_u16

Instance methods

acces?

Returns true if this enum value equals ACCES

Source
addrinuse?

Returns true if this enum value equals ADDRINUSE

Source
addrnotavail?

Returns true if this enum value equals ADDRNOTAVAIL

Source
afnosupport?

Returns true if this enum value equals AFNOSUPPORT

Source
again?

Returns true if this enum value equals AGAIN

Source
already?

Returns true if this enum value equals ALREADY

Source
badf?

Returns true if this enum value equals BADF

Source
badmsg?

Returns true if this enum value equals BADMSG

Source
busy?

Returns true if this enum value equals BUSY

Source
canceled?

Returns true if this enum value equals CANCELED

Source
child?

Returns true if this enum value equals CHILD

Source
connaborted?

Returns true if this enum value equals CONNABORTED

Source
connrefused?

Returns true if this enum value equals CONNREFUSED

Source
connreset?

Returns true if this enum value equals CONNRESET

Source
deadlk?

Returns true if this enum value equals DEADLK

Source
destaddrreq?

Returns true if this enum value equals DESTADDRREQ

Source
dom?

Returns true if this enum value equals DOM

Source
dquot?

Returns true if this enum value equals DQUOT

Source
exist?

Returns true if this enum value equals EXIST

Source
fault?

Returns true if this enum value equals FAULT

Source
fbig?

Returns true if this enum value equals FBIG

Source
hostunreach?

Returns true if this enum value equals HOSTUNREACH

Source
idrm?

Returns true if this enum value equals IDRM

Source
ilseq?

Returns true if this enum value equals ILSEQ

Source
inprogress?

Returns true if this enum value equals INPROGRESS

Source
intr?

Returns true if this enum value equals INTR

Source
inval?

Returns true if this enum value equals INVAL

Source
io?

Returns true if this enum value equals IO

Source
isconn?

Returns true if this enum value equals ISCONN

Source
isdir?

Returns true if this enum value equals ISDIR

Source
loop?

Returns true if this enum value equals LOOP

Source
message

Returns the system error message associated with this error code.

Source
mfile?

Returns true if this enum value equals MFILE

Source
msgsize?

Returns true if this enum value equals MSGSIZE

Source
multihop?

Returns true if this enum value equals MULTIHOP

Source
nametoolong?

Returns true if this enum value equals NAMETOOLONG

Source
netdown?

Returns true if this enum value equals NETDOWN

Source
netreset?

Returns true if this enum value equals NETRESET

Source
netunreach?

Returns true if this enum value equals NETUNREACH

Source
nfile?

Returns true if this enum value equals NFILE

Source
nobufs?

Returns true if this enum value equals NOBUFS

Source
nodev?

Returns true if this enum value equals NODEV

Source
noent?

Returns true if this enum value equals NOENT

Source
noexec?

Returns true if this enum value equals NOEXEC

Source
nolck?

Returns true if this enum value equals NOLCK

Source
nomem?

Returns true if this enum value equals NOMEM

Source
nomsg?

Returns true if this enum value equals NOMSG

Source
noprotoopt?

Returns true if this enum value equals NOPROTOOPT

Source
nospc?

Returns true if this enum value equals NOSPC

Source
nosys?

Returns true if this enum value equals NOSYS

Source
notcapable?

Returns true if this enum value equals NOTCAPABLE

Source
notconn?

Returns true if this enum value equals NOTCONN

Source
notdir?

Returns true if this enum value equals NOTDIR

Source
notempty?

Returns true if this enum value equals NOTEMPTY

Source
notrecoverable?

Returns true if this enum value equals NOTRECOVERABLE

Source
notsock?

Returns true if this enum value equals NOTSOCK

Source
notsup?

Returns true if this enum value equals NOTSUP

Source
notty?

Returns true if this enum value equals NOTTY

Source
nxio?

Returns true if this enum value equals NXIO

Source
overflow?

Returns true if this enum value equals OVERFLOW

Source
ownerdead?

Returns true if this enum value equals OWNERDEAD

Source
perm?

Returns true if this enum value equals PERM

Source
pipe?

Returns true if this enum value equals PIPE

Source
proto?

Returns true if this enum value equals PROTO

Source
protonosupport?

Returns true if this enum value equals PROTONOSUPPORT

Source
prototype?

Returns true if this enum value equals PROTOTYPE

Source
range?

Returns true if this enum value equals RANGE

Source
rofs?

Returns true if this enum value equals ROFS

Source
spipe?

Returns true if this enum value equals SPIPE

Source
srch?

Returns true if this enum value equals SRCH

Source
stale?

Returns true if this enum value equals STALE

Source
success?

Returns true if this enum value equals SUCCESS

Source
timedout?

Returns true if this enum value equals TIMEDOUT

Source
to_errno

Transforms this WasiError value to the equivalent Errno value.

This is only defined for some values. If no transformation is defined for a specific value, the default result is Errno::EINVAL.

Source
toobig?

Returns true if this enum value equals TOOBIG

Source
txtbsy?

Returns true if this enum value equals TXTBSY

Source
xdev?

Returns true if this enum value equals XDEV

Source