first commit
This commit is contained in:
20
excepts/vp_invalid_argument_error.h
Executable file
20
excepts/vp_invalid_argument_error.h
Executable file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
namespace vp_excepts {
|
||||
|
||||
class vp_invalid_argument_error: public std::runtime_error {
|
||||
private:
|
||||
/* data */
|
||||
public:
|
||||
vp_invalid_argument_error(const std::string& what_arg);
|
||||
~vp_invalid_argument_error();
|
||||
};
|
||||
|
||||
inline vp_invalid_argument_error::vp_invalid_argument_error(const std::string& what_arg): std::runtime_error(what_arg) {
|
||||
}
|
||||
|
||||
inline vp_invalid_argument_error::~vp_invalid_argument_error() {
|
||||
}
|
||||
}
|
||||
21
excepts/vp_invalid_calling_error.h
Executable file
21
excepts/vp_invalid_calling_error.h
Executable file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
namespace vp_excepts {
|
||||
|
||||
class vp_invalid_calling_error: public std::runtime_error {
|
||||
private:
|
||||
/* data */
|
||||
public:
|
||||
vp_invalid_calling_error(const std::string& what_arg);
|
||||
~vp_invalid_calling_error();
|
||||
};
|
||||
|
||||
inline vp_invalid_calling_error::vp_invalid_calling_error(const std::string& what_arg): std::runtime_error(what_arg) {
|
||||
}
|
||||
|
||||
inline vp_invalid_calling_error::~vp_invalid_calling_error() {
|
||||
}
|
||||
|
||||
}
|
||||
21
excepts/vp_invalid_pipeline_error.h
Executable file
21
excepts/vp_invalid_pipeline_error.h
Executable file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
namespace vp_excepts {
|
||||
|
||||
class vp_invalid_pipeline_error: public std::runtime_error {
|
||||
private:
|
||||
/* data */
|
||||
public:
|
||||
vp_invalid_pipeline_error(const std::string& what_arg);
|
||||
~vp_invalid_pipeline_error();
|
||||
};
|
||||
|
||||
inline vp_invalid_pipeline_error::vp_invalid_pipeline_error(const std::string& what_arg): std::runtime_error(what_arg) {
|
||||
}
|
||||
|
||||
inline vp_invalid_pipeline_error::~vp_invalid_pipeline_error() {
|
||||
}
|
||||
|
||||
}
|
||||
22
excepts/vp_not_implemented_error.h
Executable file
22
excepts/vp_not_implemented_error.h
Executable file
@@ -0,0 +1,22 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
namespace vp_excepts {
|
||||
// not implemented error
|
||||
class vp_not_implemented_error: public std::runtime_error {
|
||||
private:
|
||||
/* data */
|
||||
public:
|
||||
vp_not_implemented_error(const std::string& what_arg);
|
||||
~vp_not_implemented_error();
|
||||
};
|
||||
|
||||
inline vp_not_implemented_error::vp_not_implemented_error(const std::string& what_arg): std::runtime_error(what_arg) {
|
||||
}
|
||||
|
||||
inline vp_not_implemented_error::~vp_not_implemented_error() {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user