hauke96 / juard

Lightweight framework for events, dependency injection, contracts and logging.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error methods

hauke96 opened this issue · comments

There should be two kinds of error messages:

  • Internal errors (e.g. when an implementation error occurred)
  • External errors (e.g. an image has not the wanted format)

They can me named as follows:

  • __error(...), __internalError(...), ...
  • __runtimeError(...), __environmentError(...), ...