Module for creating any error classes.
Classes: Base
Base.create(status: 404)
Base.create(status: 405) do define_method(:parse_payload) do |allows: [], **payload| self.headers['Allows'] = allows.join(?,) unless allows.empty? end end