enum WasiError
Defined in:
wasi_error.crEnum Members
-
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 Method Summary
-
#acces?
Returns
true
if this enum value equalsACCES
-
#addrinuse?
Returns
true
if this enum value equalsADDRINUSE
-
#addrnotavail?
Returns
true
if this enum value equalsADDRNOTAVAIL
-
#afnosupport?
Returns
true
if this enum value equalsAFNOSUPPORT
-
#again?
Returns
true
if this enum value equalsAGAIN
-
#already?
Returns
true
if this enum value equalsALREADY
-
#badf?
Returns
true
if this enum value equalsBADF
-
#badmsg?
Returns
true
if this enum value equalsBADMSG
-
#busy?
Returns
true
if this enum value equalsBUSY
-
#canceled?
Returns
true
if this enum value equalsCANCELED
-
#child?
Returns
true
if this enum value equalsCHILD
-
#connaborted?
Returns
true
if this enum value equalsCONNABORTED
-
#connrefused?
Returns
true
if this enum value equalsCONNREFUSED
-
#connreset?
Returns
true
if this enum value equalsCONNRESET
-
#deadlk?
Returns
true
if this enum value equalsDEADLK
-
#destaddrreq?
Returns
true
if this enum value equalsDESTADDRREQ
-
#dom?
Returns
true
if this enum value equalsDOM
-
#dquot?
Returns
true
if this enum value equalsDQUOT
-
#exist?
Returns
true
if this enum value equalsEXIST
-
#fault?
Returns
true
if this enum value equalsFAULT
-
#fbig?
Returns
true
if this enum value equalsFBIG
-
#hostunreach?
Returns
true
if this enum value equalsHOSTUNREACH
-
#idrm?
Returns
true
if this enum value equalsIDRM
-
#ilseq?
Returns
true
if this enum value equalsILSEQ
-
#inprogress?
Returns
true
if this enum value equalsINPROGRESS
-
#intr?
Returns
true
if this enum value equalsINTR
-
#inval?
Returns
true
if this enum value equalsINVAL
-
#io?
Returns
true
if this enum value equalsIO
-
#isconn?
Returns
true
if this enum value equalsISCONN
-
#isdir?
Returns
true
if this enum value equalsISDIR
-
#loop?
Returns
true
if this enum value equalsLOOP
-
#message : String
Returns the system error message associated with this error code.
-
#mfile?
Returns
true
if this enum value equalsMFILE
-
#mlink?
Returns
true
if this enum value equalsMLINK
-
#msgsize?
Returns
true
if this enum value equalsMSGSIZE
-
#multihop?
Returns
true
if this enum value equalsMULTIHOP
-
#nametoolong?
Returns
true
if this enum value equalsNAMETOOLONG
-
#netdown?
Returns
true
if this enum value equalsNETDOWN
-
#netreset?
Returns
true
if this enum value equalsNETRESET
-
#netunreach?
Returns
true
if this enum value equalsNETUNREACH
-
#nfile?
Returns
true
if this enum value equalsNFILE
-
#nobufs?
Returns
true
if this enum value equalsNOBUFS
-
#nodev?
Returns
true
if this enum value equalsNODEV
-
#noent?
Returns
true
if this enum value equalsNOENT
-
#noexec?
Returns
true
if this enum value equalsNOEXEC
-
#nolck?
Returns
true
if this enum value equalsNOLCK
-
#nolink?
Returns
true
if this enum value equalsNOLINK
-
#nomem?
Returns
true
if this enum value equalsNOMEM
-
#nomsg?
Returns
true
if this enum value equalsNOMSG
-
#noprotoopt?
Returns
true
if this enum value equalsNOPROTOOPT
-
#nospc?
Returns
true
if this enum value equalsNOSPC
-
#nosys?
Returns
true
if this enum value equalsNOSYS
-
#notcapable?
Returns
true
if this enum value equalsNOTCAPABLE
-
#notconn?
Returns
true
if this enum value equalsNOTCONN
-
#notdir?
Returns
true
if this enum value equalsNOTDIR
-
#notempty?
Returns
true
if this enum value equalsNOTEMPTY
-
#notrecoverable?
Returns
true
if this enum value equalsNOTRECOVERABLE
-
#notsock?
Returns
true
if this enum value equalsNOTSOCK
-
#notsup?
Returns
true
if this enum value equalsNOTSUP
-
#notty?
Returns
true
if this enum value equalsNOTTY
-
#nxio?
Returns
true
if this enum value equalsNXIO
-
#overflow?
Returns
true
if this enum value equalsOVERFLOW
-
#ownerdead?
Returns
true
if this enum value equalsOWNERDEAD
-
#perm?
Returns
true
if this enum value equalsPERM
-
#pipe?
Returns
true
if this enum value equalsPIPE
-
#proto?
Returns
true
if this enum value equalsPROTO
-
#protonosupport?
Returns
true
if this enum value equalsPROTONOSUPPORT
-
#prototype?
Returns
true
if this enum value equalsPROTOTYPE
-
#range?
Returns
true
if this enum value equalsRANGE
-
#rofs?
Returns
true
if this enum value equalsROFS
-
#spipe?
Returns
true
if this enum value equalsSPIPE
-
#srch?
Returns
true
if this enum value equalsSRCH
-
#stale?
Returns
true
if this enum value equalsSTALE
-
#success?
Returns
true
if this enum value equalsSUCCESS
-
#timedout?
Returns
true
if this enum value equalsTIMEDOUT
- #to_errno : Errno
-
#toobig?
Returns
true
if this enum value equalsTOOBIG
-
#txtbsy?
Returns
true
if this enum value equalsTXTBSY
-
#xdev?
Returns
true
if this enum value equalsXDEV
Instance methods inherited from struct Enum
&(other : self) : self
&,
+(other : Int) : self
+,
-(other : Int) : self
-,
<=>(other : self)
<=>,
==(other : self)==(other) ==, ^(other : self) : self ^, |(other : self) : self |, ~ : self ~, clone clone, each(& : self -> ) each, hash(hasher) hash, includes?(other : self) : Bool includes?, inspect(io : IO) : Nil inspect, to_f32 : Float32 to_f32, to_f32! : Float32 to_f32!, to_f64 : Float64 to_f64, to_f64! : Float64 to_f64!, to_i : Int32 to_i, to_i128 : Int128 to_i128, to_i128! : Int128 to_i128!, to_i16 : Int16 to_i16, to_i16! : Int16 to_i16!, to_i32 : Int32 to_i32, to_i32! : Int32 to_i32!, to_i64 : Int64 to_i64, to_i64! : Int64 to_i64!, to_i8 : Int8 to_i8, to_i8! : Int8 to_i8!, to_json(json : JSON::Builder) to_json, to_s(io : IO) : Nil
to_s : String to_s, to_u128 : UInt128 to_u128, to_u128! : UInt128 to_u128!, to_u16 : UInt16 to_u16, to_u16! : UInt16 to_u16!, to_u32 : UInt32 to_u32, to_u32! : UInt32 to_u32!, to_u64 : UInt64 to_u64, to_u64! : UInt64 to_u64!, to_u8 : UInt8 to_u8, to_u8! : UInt8 to_u8!, to_yaml(yaml : YAML::Nodes::Builder) to_yaml, value : Int value
Constructor methods inherited from struct Enum
from_value(value : Int) : self
from_value,
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(value : self)
new(pull : JSON::PullParser) new, parse(string : String) : self parse
Class methods inherited from struct Enum
each(& : self -> )
each,
from_value?(value : Int) : self | Nil
from_value?,
names : Array(String)
names,
parse?(string : String) : self | Nil
parse?,
valid?(value : self) : Bool
valid?,
values : Array(self)
values
Macros inherited from struct Enum
[](*values)
[],
flags(*values)
flags
Instance methods inherited from module Comparable(Enum)
<(other : T) : Bool
<,
<=(other : T)
<=,
<=>(other : T)
<=>,
==(other : T)
==,
>(other : T) : Bool
>,
>=(other : T)
>=,
clamp(min, max)clamp(range : Range) clamp
Instance methods inherited from struct Value
==(other : JSON::Any)==(other : YAML::Any)
==(other) ==, dup dup
Instance methods inherited from class Object
! : Bool
!,
!=(other)
!=,
!~(other)
!~,
==(other)
==,
===(other : JSON::Any)===(other : YAML::Any)
===(other) ===, =~(other) =~, as(type : Class) as, as?(type : Class) as?, class class, dup dup, hash(hasher)
hash hash, in?(collection : Object) : Bool
in?(*values : Object) : Bool in?, inspect(io : IO) : Nil
inspect : String inspect, is_a?(type : Class) : Bool is_a?, itself itself, nil? : Bool nil?, not_nil!(message)
not_nil! not_nil!, pretty_inspect(width = 79, newline = "\n", indent = 0) : String pretty_inspect, pretty_print(pp : PrettyPrint) : Nil pretty_print, responds_to?(name : Symbol) : Bool responds_to?, tap(&) tap, to_json(io : IO) : Nil
to_json : String to_json, to_pretty_json(indent : String = " ") : String
to_pretty_json(io : IO, indent : String = " ") : Nil to_pretty_json, to_s(io : IO) : Nil
to_s : String to_s, to_yaml(io : IO) : Nil
to_yaml : String to_yaml, try(&) try, unsafe_as(type : T.class) forall T unsafe_as
Class methods inherited from class Object
from_json(string_or_io, root : String)from_json(string_or_io) from_json, from_yaml(string_or_io : String | IO) from_yaml
Macros inherited from class Object
class_getter(*names, &block)
class_getter,
class_getter!(*names)
class_getter!,
class_getter?(*names, &block)
class_getter?,
class_property(*names, &block)
class_property,
class_property!(*names)
class_property!,
class_property?(*names, &block)
class_property?,
class_setter(*names)
class_setter,
def_clone
def_clone,
def_equals(*fields)
def_equals,
def_equals_and_hash(*fields)
def_equals_and_hash,
def_hash(*fields)
def_hash,
delegate(*methods, to object)
delegate,
forward_missing_to(delegate)
forward_missing_to,
getter(*names, &block)
getter,
getter!(*names)
getter!,
getter?(*names, &block)
getter?,
property(*names, &block)
property,
property!(*names)
property!,
property?(*names, &block)
property?,
setter(*names)
setter
Instance Method Detail
Returns the system error message associated with this error code.
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
.