Method: FastlaneCore::Interface#user_error!

Defined in:
fastlane_core/lib/fastlane_core/ui/interface.rb

#user_error!(error_message, options = {}) ⇒ Object

Use this method to exit the program because of an user error

e.g. app doesn't exist on the given Developer Account
     or invalid user credentials
     or scan tests fail

This will show the error message, but doesn’t show the full

stack trace

Basically this should be used when you actively catch the error and want to show a nice error message to the user

Raises:



140
141
142
# File 'fastlane_core/lib/fastlane_core/ui/interface.rb', line 140

def user_error!(error_message, options = {})
  raise FastlaneError.new(options), error_message.to_s
end