Errors as separate module