Module: DriveError
- Included in:
- Commands::Command
- Defined in:
- lib/gdsh/error.rb
Instance Method Summary collapse
Instance Method Details
#drive_error_string ⇒ Object
4 5 6 |
# File 'lib/gdsh/error.rb', line 4 def drive_error_string puts "An error occurred: #{result.data['error']['message']}".colorize(:red) end |