Closed janpolacek closed 7 years ago
handlovat, logovat, a v catch opat throw teda?
hotovo... error sa bude vraciat takto { "errorCode": 404, "message": "nenajdeny tim s id:67" }
kody co som vacsinou vracal: NOT_FOUND 404 BAD_REQUEST 400 INTERNAL_SERVER_ERROR 500
7 <<<, ako sme sa bavili, vytvorit nadtriedu standartnych exceptionov.
handlovat, logovat, a v catch opat throw teda?