Skip to content

Commit a6d5575

Browse files
committed
Added backtrace to system error
1 parent b3aef3b commit a6d5575

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

booster/booster/system_error.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ namespace system {
2424
using std::error_category;
2525
using std::system_category;
2626
using std::error_code;
27-
using std::system_error;
27+
28+
class system_error : public std::system_error, public backtrace {
29+
public:
30+
using std::system_error::system_error;
31+
};
2832

2933
} // system
3034
} // booster

0 commit comments

Comments
 (0)