forked from kyle-mccarthy/nest-next
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update docs with new error handling information
- Loading branch information
1 parent
e48d808
commit 6d8c036
Showing
5 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ package-lock.json | |
tslint.json | ||
tsconfig.json | ||
yarn-error.log | ||
yarn.lock | ||
yarn.lock | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
graph TB | ||
InReq[Incoming Request] | ||
|
||
InReq --> RteReg{Route<br>registered?} | ||
|
||
RteReg --> |T| HasRteReg[Send to controller] | ||
HasRteReg --> FIN[Done] | ||
|
||
RteReg --> |F| NoRteReg[Error handled by RenderFilter] | ||
|
||
NoRteReg --> HdrsSnt{Headers sent?} | ||
|
||
HdrsSnt --> |T| FIN | ||
|
||
HdrsSnt --> |F| IntlNxtRoute{Internal<br>nextjs URL?} | ||
|
||
IntlNxtRoute --> |T| NxtReqHndlr[Use nextjs requestHandler] | ||
NxtReqHndlr --> FIN | ||
|
||
IntlNxtRoute --> |F| ErrHndlrReg{errorHandler<br>registered?} | ||
ErrHndlrReg --> |T| ErrHndlrCall[Call error Handler] | ||
|
||
ErrHndlrCall --> ErrHndlrRes{Error handler<br>sent response?} | ||
|
||
ErrHndlrRes --> |T| FIN | ||
|
||
ErrHndlrRes --> |F| NxtErrRndr[Use nextjs errorRenderer] | ||
NxtErrRndr --> FIN | ||
|
||
|
||
ErrHndlrReg --> |F| NxtErrRndr | ||
NxtErrRndr --> FIN | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters