def errors=(input) # :nodoc:
      @errors = case input
        when Hash
          case input[:error]
          when Array