Loading...
Searching...
No Matches
baseErr.hpp
Go to the documentation of this file.
1
2#pragma once
3
6
7namespace by {
48 class _nout baseErr: public baseObj, public errorable {
49 BY(ADT(baseErr, baseObj))
50 template <typename T, nbool> friend struct tmarshaling;
51
52 public:
53 baseErr(errLv::level t);
54 baseErr(const baseErr& rhs);
55
56 public:
57 me& operator=(const me& rhs);
58 virtual nbool operator==(const me& rhs) const = 0;
59 nbool operator!=(const me& rhs) const;
60
61 public:
62 const frames& getFrames() const;
63 void logStack() const override;
64 void dump() const override;
65 errLv::level getLv() const override;
66 static scope& makeSubs();
67 const std::string& getMsg() const override;
68 virtual errCode getErrCode() const;
69
70 private:
71 void _initStack();
72 me& _assign(const me& rhs);
73
74 private:
75 tstr<frames> _frames;
76 errLv::level _lv;
77 };
78} // namespace by
Base class for error hierarchy.
Definition baseErr.hpp:48
Base class for representing byeol objects.
Definition baseObj.hpp:73
Container for execution frame stack.
Definition frames.hpp:24
Definition tnarr.hpp:9
Template marshaling interface for C++ bridge.
Definition tmarshaling.hpp:19
to Top