tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
errc.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_SYSTEM_ERROR_ERROC_HPP
4#define TETL_SYSTEM_ERROR_ERROC_HPP
5
7
8namespace etl {
9
12enum struct errc {
14 address_in_use, // EADDRINUSE
15 address_not_available, // EADDRNOTAVAIL
19 bad_address, // EFAULT
21 bad_message, // EBADMSG
22 broken_pipe, // EPIPE
23 connection_aborted, // ECONNABORTED
25 connection_refused, // ECONNREFUSED
26 connection_reset, // ECONNRESET
30 directory_not_empty, // ENOTEMPTY
32 file_exists, // EEXIST
34 filename_too_long, // ENAMETOOLONG
36 host_unreachable, // EHOSTUNREACH
40 interrupted, // EINTR
42 invalid_seek, // ESPIPE
43 io_error, // EIO
44 is_a_directory, // EISDIR
45 message_size, // EMSGSIZE
46 network_down, // ENETDOWN
47 network_reset, // ENETRESET
48 network_unreachable, // ENETUNREACH
49 no_buffer_space, // ENOBUFS
51 no_link, // ENOLINK
54 no_message, // ENOMSG
55 no_protocol_option, // ENOPROTOOPT
59 no_such_device, // ENODEV
62 not_a_directory, // ENOTDIR
63 not_a_socket, // ENOTSOCK
64 not_a_stream, // ENOSTR
65 not_connected, // ENOTCONN
67 not_supported, // ENOTSUP
68 operation_canceled, // ECANCELED
69 operation_in_progress, // EINPROGRESS
72 operation_would_block, // EWOULDBLOCK
73 owner_dead, // EOWNERDEAD
75 protocol_error, // EPROTO
76 protocol_not_supported, // EPROTONOSUPPORT
81 state_not_recoverable, // ENOTRECOVERABLE
83 text_file_busy, // ETXTBSY
84 timed_out, // ETIMEDOUT
87 too_many_links, // EMLINK
89 value_too_large, // EOVERFLOW
90 wrong_protocol_type, // EPROTOTYPE
91};
92
93template <>
95
96} // namespace etl
97
98#endif // TETL_SYSTEM_ERROR_ERROC_HPP
Definition adjacent_find.hpp:8
errc
The scoped enumeration etl::errc defines the values of portable error conditions that correspond to t...
Definition errc.hpp:12
@ identifier_removed
Definition errc.hpp:37
@ read_only_file_system
Definition errc.hpp:77
@ network_reset
Definition errc.hpp:47
@ value_too_large
Definition errc.hpp:89
@ no_space_on_device
Definition errc.hpp:56
@ argument_list_too_long
Definition errc.hpp:17
@ address_not_available
Definition errc.hpp:15
@ not_a_directory
Definition errc.hpp:62
@ not_a_socket
Definition errc.hpp:63
@ owner_dead
Definition errc.hpp:73
@ no_such_file_or_directory
Definition errc.hpp:60
@ broken_pipe
Definition errc.hpp:22
@ connection_aborted
Definition errc.hpp:23
@ too_many_files_open_in_system
Definition errc.hpp:85
@ destination_address_required
Definition errc.hpp:28
@ too_many_symbolic_link_levels
Definition errc.hpp:88
@ file_exists
Definition errc.hpp:32
@ inappropriate_io_control_operation
Definition errc.hpp:39
@ argument_out_of_domain
Definition errc.hpp:18
@ operation_in_progress
Definition errc.hpp:69
@ executable_format_error
Definition errc.hpp:31
@ connection_refused
Definition errc.hpp:25
@ illegal_byte_sequence
Definition errc.hpp:38
@ timed_out
Definition errc.hpp:84
@ no_lock_available
Definition errc.hpp:52
@ no_such_device_or_address
Definition errc.hpp:58
@ network_unreachable
Definition errc.hpp:48
@ cross_device_link
Definition errc.hpp:27
@ no_buffer_space
Definition errc.hpp:49
@ state_not_recoverable
Definition errc.hpp:81
@ operation_not_supported
Definition errc.hpp:71
@ not_connected
Definition errc.hpp:65
@ directory_not_empty
Definition errc.hpp:30
@ filename_too_long
Definition errc.hpp:34
@ not_a_stream
Definition errc.hpp:64
@ operation_would_block
Definition errc.hpp:72
@ wrong_protocol_type
Definition errc.hpp:90
@ connection_already_in_progress
Definition errc.hpp:24
@ operation_not_permitted
Definition errc.hpp:70
@ address_family_not_supported
Definition errc.hpp:13
@ result_out_of_range
Definition errc.hpp:80
@ address_in_use
Definition errc.hpp:14
@ network_down
Definition errc.hpp:46
@ protocol_error
Definition errc.hpp:75
@ bad_file_descriptor
Definition errc.hpp:20
@ file_too_large
Definition errc.hpp:33
@ protocol_not_supported
Definition errc.hpp:76
@ function_not_supported
Definition errc.hpp:35
@ not_supported
Definition errc.hpp:67
@ bad_address
Definition errc.hpp:19
@ not_enough_memory
Definition errc.hpp:66
@ device_or_resource_busy
Definition errc.hpp:29
@ already_connected
Definition errc.hpp:16
@ invalid_seek
Definition errc.hpp:42
@ no_protocol_option
Definition errc.hpp:55
@ connection_reset
Definition errc.hpp:26
@ too_many_links
Definition errc.hpp:87
@ stream_timeout
Definition errc.hpp:82
@ bad_message
Definition errc.hpp:21
@ io_error
Definition errc.hpp:43
@ no_message
Definition errc.hpp:54
@ no_child_process
Definition errc.hpp:50
@ text_file_busy
Definition errc.hpp:83
@ no_stream_resources
Definition errc.hpp:57
@ no_such_process
Definition errc.hpp:61
@ no_link
Definition errc.hpp:51
@ message_size
Definition errc.hpp:45
@ resource_unavailable_try_again
Definition errc.hpp:79
@ permission_denied
Definition errc.hpp:74
@ too_many_files_open
Definition errc.hpp:86
@ resource_deadlock_would_occur
Definition errc.hpp:78
@ no_message_available
Definition errc.hpp:53
@ is_a_directory
Definition errc.hpp:44
@ no_such_device
Definition errc.hpp:59
@ interrupted
Definition errc.hpp:40
@ operation_canceled
Definition errc.hpp:68
@ host_unreachable
Definition errc.hpp:36
bool_constant< true > true_type
Definition bool_constant.hpp:13
Definition invalid_argument.hpp:10
Definition is_error_condition_enum.hpp:11