lib/meta/errors.rb in meta-api-0.0.5 vs lib/meta/errors.rb in meta-api-0.0.6
- old
+ new
@@ -11,10 +11,10 @@
super(errors, "参数异常:#{errors}")
end
end
class RenderingInvalid < JsonSchema::ValidationErrors
- def initialize(errors)
+ def initialize(errors = {})
super(errors, "渲染实体异常:#{errors}")
end
end
class RenderingError < StandardError; end