AstraLog-HPC
Loading...
Searching...
No Matches
errors.hpp
Go to the documentation of this file.
1
19#pragma once
20
21#include <stdexcept>
22
23namespace astralog {
24
31class AstraLogError : public std::runtime_error {
32public:
33 using std::runtime_error::runtime_error;
34};
35
37class ConfigError : public AstraLogError {
38public:
39 using AstraLogError::AstraLogError;
40};
41
44public:
45 using AstraLogError::AstraLogError;
46};
47
49class ParseError : public AstraLogError {
50public:
51 using AstraLogError::AstraLogError;
52};
53
55class IoError : public AstraLogError {
56public:
57 using AstraLogError::AstraLogError;
58};
59
62public:
63 using AstraLogError::AstraLogError;
64};
65
67class RuleError : public AstraLogError {
68public:
69 using AstraLogError::AstraLogError;
70};
71
72} // namespace astralog
Base class for every AstraLog-HPC error.
Definition errors.hpp:31
An SSH, SCP, or SLURM operation against the cluster failed.
Definition errors.hpp:61
A configuration file or required environment variable is missing or invalid.
Definition errors.hpp:37
A file could not be opened, read, or written.
Definition errors.hpp:55
A JSON or YAML document could not be parsed.
Definition errors.hpp:49
A rule definition references an unknown type or is otherwise malformed.
Definition errors.hpp:67
An incoming telemetry packet violates the expected schema.
Definition errors.hpp:43
Definition io.cpp:5