]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/errorator: add erange, ebadf, enospc, eagain
authorSamuel Just <sjust@redhat.com>
Fri, 14 Feb 2020 23:34:58 +0000 (15:34 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 7 May 2020 06:40:14 +0000 (23:40 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/common/errorator.h

index e39e361f517cb6fe610587a884e906f39025675e..d16b3d2b39ac7d87ab90cac4a7bd46d0d1d38984 100644 (file)
@@ -880,7 +880,15 @@ namespace ct_error {
     ct_error_code<std::errc::operation_not_supported>;
   using not_connected = ct_error_code<std::errc::not_connected>;
   using timed_out = ct_error_code<std::errc::timed_out>;
+  using erange =
+    ct_error_code<std::errc::result_out_of_range>;
+  using ebadf =
+    ct_error_code<std::errc::bad_file_descriptor>;
+  using enospc =
+    ct_error_code<std::errc::no_space_on_device>;
   using value_too_large = ct_error_code<std::errc::value_too_large>;
+  using eagain =
+    ct_error_code<std::errc::resource_unavailable_try_again>;
 
   struct pass_further_all {
     template <class ErrorT>