Method check_errors do not depends on decorator