29#ifndef WPIUTIL_WPI_ERRC_H
30#define WPIUTIL_WPI_ERRC_H
32#include <system_error>
50 int(std::errc::inappropriate_io_control_operation),
71 int(std::errc::resource_unavailable_try_again),
79 return std::error_code(
static_cast<int>(E), std::generic_category());
84template <>
struct is_error_code_enum<
wpi::
errc> : std::true_type {};
Definition: BFloat16.h:88
Definition: AprilTagFieldLayout.h:18
errc
Definition: Errc.h:35
@ no_such_file_or_directory
@ too_many_files_open_in_system
@ inappropriate_io_control_operation
@ executable_format_error
@ no_such_device_or_address
@ operation_not_permitted
@ device_or_resource_busy
@ resource_unavailable_try_again
@ resource_deadlock_would_occur
std::error_code make_error_code(errc E)
Definition: Errc.h:78