Skip to content

Commit

Permalink
Add error handlers by constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoRB committed Aug 5, 2022
1 parent a55450b commit 7d8725e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/dartness.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ class Dartness {
for (final interceptor in interceptors) {
addInterceptor(interceptor);
}
for (final errorHandler in errorHandlers) {
addErrorHandler(errorHandler);
}
}

/// Starts the [_server].
Expand Down

0 comments on commit 7d8725e

Please sign in to comment.