1 PgError empty;
2
3 assert(empty.empty);
4 assert(!empty);
5 assert(empty.code == -1);
6 assert(empty.msg == "");
7
8
9 auto error = PgError("Some error", 100);
10
11 assert(error);
12 assert(!error.empty);
13 assert(error.code == 100);
14 assert(error.msg == "Some error");
Error container * API is stable