Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 923bb405 authored by TAVERNIER Vincent's avatar TAVERNIER Vincent
Browse files

Add ShadertoyError documentation

parent 22b93ff8
No related branches found
No related tags found
No related merge requests found
......@@ -7,10 +7,23 @@
namespace shadertoy
{
/**
* Base error class for libshadertoy errors.
*/
class ShadertoyError : public std::runtime_error
{
public:
/**
* Initializes a new instance of the ShadertoyError class.
*
* @param what_arg Error message
*/
explicit ShadertoyError(const std::string &what_arg);
/**
* Initializes a new instance of the ShadertoyError class.
*
* @param what_arg Error message
*/
explicit ShadertoyError(const char *what_arg);
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment