Lely core libraries
2.3.4
|
Go to the source code of this file.
Functions | |
inline ::std::error_code | lely::util::make_error_code (int errc=get_errc()) noexcept |
Creates an error code value corresponding to the specified or current (thread-specific) native error number. | |
void | lely::util::throw_error_code (::std::errc e) |
Throws an std::system_error exception corresponding to the specified error code. | |
void | lely::util::throw_error_code (const ::std::string &what_arg, ::std::errc e) |
Throws an std::system_error exception corresponding to the specified error code. More... | |
void | lely::util::throw_error_code (const char *what_arg, ::std::errc e) |
void | lely::util::throw_errc (int errc=get_errc()) |
Throws an std::system_error exception corresponding to the specified or current (thread-specific) native error number. | |
void | lely::util::throw_errc (const ::std::string &what_arg, int errc=get_errc()) |
Throws an std::system_error exception corresponding to the specified or current (thread-specific) native error number. More... | |
void | lely::util::throw_errc (const char *what_arg, int errc=get_errc()) |
void | lely::util::throw_errnum (int errnum) |
Throws an std::system_error exception corresponding to the specified platform-independent error number. | |
void | lely::util::throw_errnum (const ::std::string &what_arg, int errnum) |
Throws an std::system_error exception corresponding to the specified platform-independent error number. More... | |
void | lely::util::throw_errnum (const char *what_arg, int errnum) |
This header file is part of the utilities library; it contains C++ convenience functions for creating std::error_code instances and throwing std::system_error exceptions corresponding to native error numbers.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file error.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |