shared/helpers/common_exceptions_handler library

Functions

commonClientExceptionExit(Exception e, StackTrace stackTrace) ErrorExitException?
Returns the ErrorExitException that corresponds to a common client exception, or null if the exception is not one of them.
processCommonClientExceptions(CommandLogger logger, String baseCommand, Exception e, StackTrace stackTrace) → void
If the exception is a common client exception, process it by displaying relevant messages to the user and throwing an ErrorExitException.