throw
one. Angel3 provides an AngelHttpException
class to take care of this.try
/catch
, and gracefully intercepts exceptions. This enables Angel3 to catch errors on every request, and not crash the server. Unhandled errors are wrapped in instances of AngelHttpException
, which can be handled as follows.useZone
flag in AngelHttp
or another driver (i.e. HTTP/2) to run each request in its own Zone
, though by Angel3, this is no longer necessary.