I'd like to make an error with ruby for certain results. What should I do in this case?
For example, when json
is retrieved by hitting webapi, an error is returned if the item error
exists.
raise StandardError, "Error Contents"
© 2024 OneMinuteCode. All rights reserved.