RUBY-644 adding some base error classes