Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
error_to_string.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Roc Streaming authors
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
//! @file roc_error/error_to_string.h
10
//! @brief Error codes.
11
12
#ifndef ROC_ERROR_ERROR_TO_STRING_H_
13
#define ROC_ERROR_ERROR_TO_STRING_H_
14
15
#include "
roc_error/error_code.h
"
16
17
namespace
roc
{
18
namespace
error {
19
20
//! Get human-readable message for error code.
21
const
char
*
error_to_string
(
ErrorCode
err);
22
23
}
// namespace error
24
}
// namespace roc
25
26
#endif
// ROC_ERROR_ERROR_TO_STRING_H_
error_code.h
Error codes.
roc::error::error_to_string
const char * error_to_string(ErrorCode err)
Get human-readable message for error code.
roc::error::ErrorCode
ErrorCode
Error code.
Definition
error_code.h:19
roc
Root namespace.
roc_error
error_to_string.h
Generated by
1.9.7