29#ifndef WPIUTIL_WPI_ERRC_H
30#define WPIUTIL_WPI_ERRC_H
32#include <system_error>
50 int(std::errc::inappropriate_io_control_operation),
52 invalid_argument = int(std::errc::invalid_argument),
55 is_a_directory = int(std::errc::is_a_directory),
65 not_supported = int(std::errc::not_supported),
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: StdDeque.h:50
/file This file defines the SmallVector class.
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