houdini/lib/validation_error.rb
2019-08-02 19:07:29 +02:00

7 lines
270 B
Ruby

# frozen_string_literal: true
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
# A generalized, all purpose struct for database validation errors
# .errors is simply array of error messages
ValidationError = Struct.new(:errors)