Created
June 28, 2021 15:58
-
-
Save AlbanMinassian/fa8b04d483f1b10233da03cf835d9f2b to your computer and use it in GitHub Desktop.
Comprendre l'architecture hexagonale en 5 minutes - secret - jsonerr
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
{ | |
"meta": { "whoiam": "services/mon_premier_service.ts", "lang": "fr", "country": "FR", "etc": "..." }, | |
"isout": false, // toujours false si ko | |
"iserr": true, // toujours true si ko | |
"err": { | |
"code": "ERROR_123", | |
"message": "service en échec", | |
"origin": { | |
"meta": { "whoiam": "adapters/db_update.ts", "lang": "fr", "country": "FR", "etc": "..." }, | |
"isout": false, | |
"iserr": true, | |
"err": { | |
"code": "ERROR_456", | |
"message": "Erreur connexion", | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment