Fix typo Excludes -> Exclude.
Add requires to errors.rb.