Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails rescue puts error

begin
  # do something that fails...
rescue => error
  # error and $! are equivalent here
end
 
PREVIOUS NEXT
Tagged: #rails #rescue #puts #error
ADD COMMENT
Topic
Name
5+4 =