Note for now much of the docs is LLM written. This was done to save time and focus on code development. The docs have been LOOSLEY reviewed. However, the code itself has been either fully written by hand or fully reviewed. Therefore, the docs should at the moment be seen as a loose resource rather than authoratiative (and this is on top of the general ability for docs to drift)
70 lines
2.0 KiB
Groff
70 lines
2.0 KiB
Groff
.TH "src/include/serif/utils/error/errors.hpp" 3 "Version v0.0.1a" "SERiF" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
src/include/serif/utils/error/errors.hpp
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
\fR#include <string_view>\fP
|
|
.br
|
|
\fR#include <format>\fP
|
|
.br
|
|
\fR#include <cstdio>\fP
|
|
.br
|
|
\fR#include <string>\fP
|
|
.br
|
|
\fR#include <cstdint>\fP
|
|
.br
|
|
\fR#include <algorithm>\fP
|
|
.br
|
|
\fR#include <version>\fP
|
|
.br
|
|
\fR#include 'serif/utils/misc/terminal/colors\&.hpp'\fP
|
|
.br
|
|
\fR#include 'serif/utils/misc/concepts/exceptions\&.hpp'\fP
|
|
.br
|
|
\fR#include 'serif/utils/error/codes\&.hpp'\fP
|
|
.br
|
|
\fR#include 'serif/utils/types/strings\&.hpp'\fP
|
|
.br
|
|
|
|
.SS "Namespaces"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "namespace \fBserif\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "namespace \fBserif::utils\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "namespace \fBserif::utils::errors\fP"
|
|
.br
|
|
.in -1c
|
|
.SS "Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "template<\fBSERiFErrorCode\fP code> std::string \fBserif::utils::errors::format_error_message\fP (const std::string_view message, auto\&.\&.\&. args)"
|
|
.br
|
|
.ti -1c
|
|
.RI "template<misc::concepts::IsException ExceptionT, \fBSERiFErrorCode\fP code> void \fBserif::utils::errors::serif_error\fP (const std::string_view message, auto\&.\&.\&. args)"
|
|
.br
|
|
.ti -1c
|
|
.RI "template<\fBSERiFErrorCode\fP code, bool condition, \fBtypes::FixedString\fP message> constexpr void \fBserif::utils::errors::serif_assert\fP ()"
|
|
.br
|
|
.ti -1c
|
|
.RI "template<\fBSERiFErrorCode\fP code, misc::concepts::IsException ExceptionT = std::logic_error> void \fBserif::utils::errors::serif_assert\fP (const bool condition, const std::string_view message, auto &&\&.\&.\&. args)"
|
|
.br
|
|
.ti -1c
|
|
.RI "template<\fBSERiFErrorCode\fP code, misc::concepts::IsException ExceptionT = std::logic_error> void \fBserif::utils::errors::serif_ensure\fP (const bool condition, const std::string_view message, auto\&.\&.\&. args)"
|
|
.br
|
|
.ti -1c
|
|
.RI "template<\fBSERiFErrorCode\fP code, bool condition, \fBtypes::CTString\fP message> constexpr void \fBserif::utils::errors::serif_ensure\fP ()"
|
|
.br
|
|
.in -1c
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for SERiF from the source code\&.
|