Change error message debugging.
Add helper for status codes.
Change errors handling.