Formatting tweaks
This commit is contained in:
@@ -31,8 +31,8 @@ const nb::ErrorCodeMap TestError::ErrorMessages{
|
||||
int main() {
|
||||
nb::logger.log("Whoop!");
|
||||
try {
|
||||
THROW(nb::Error(1));
|
||||
} catch (nb::Error<> e){
|
||||
THROW(TestError(0, TestError(1, TestError(2, TestError(3, TestError(2))))));
|
||||
} catch (TestError e){
|
||||
nb::logger.log("nb::Error was thrown!");
|
||||
}
|
||||
|
||||
@@ -41,6 +41,6 @@ int main() {
|
||||
} catch (std::exception e){
|
||||
nb::logger.log("std::exception was thrown!");
|
||||
}
|
||||
|
||||
ERROR("hello there!");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user