add ability to override error responses or set new custom resposnes