global

def has_error?

def has_error?
  !error.nil?
end