diff --git a/lib/src/http/server.dart b/lib/src/http/server.dart index 3525ef09..cdc75279 100644 --- a/lib/src/http/server.dart +++ b/lib/src/http/server.dart @@ -62,6 +62,9 @@ class Angel extends AngelBase { res.end(); }; + /// The handler currently configured to run on [AngelHttpException]s. + AngelErrorHandler get errorHandler => _errorHandler; + /// [RequestMiddleware] to be run before all requests. List before = []; diff --git a/pubspec.yaml b/pubspec.yaml index 46dc7166..dd8a5f7d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_framework -version: 1.0.0-dev.19 +version: 1.0.0-dev.20 description: Core libraries for the Angel framework. author: Tobe O homepage: https://github.com/angel-dart/angel_framework