🥅 Better unauthorized exceptions

This commit is contained in:
2024-08-21 15:25:50 +08:00
parent 1d7affcd84
commit 6148e889aa
15 changed files with 79 additions and 57 deletions

View File

@ -0,0 +1,6 @@
class UnauthorizedException implements Exception {
const UnauthorizedException();
@override
String toString() => 'Unauthorized';
}