popcorn :: ValidationResult :: add_error
message
scope
# Generate a new error `message` into `scope` fun add_error(scope, message: String) do if not errors.has_key(scope) then errors[scope] = new Array[String] end errors[scope].add message end