module WolfCore::ExceptionOperations
def raise_service_error(error_data)
def raise_service_error(error_data) error_data = { message: error_data } if error_data.is_a?(String) raise WolfCore::ServiceException, error_data end
def raise_service_error(error_data) error_data = { message: error_data } if error_data.is_a?(String) raise WolfCore::ServiceException, error_data end