Cuprum::Cli

A command-line utility powered by Cuprum that provides tools and utilities for defining command-line tools.

Class: Cuprum::Cli::Errors::SystemCommandFailure

Parent Namespace
Cuprum::Cli::Errors
Inherited Classes
Cuprum::Error > Object
Defined In
lib/cuprum/cli/errors/system_command_failure.rb

Table Of Contents

Overview

Error returned when a system command returns a non-success status.

Back To Top

Constants

TYPE

= 'cuprum.cli.errors.system_command_failure'

Short string used to identify the type of error.

Back To Top

Constructor

#initialize(command:, details: nil, exit_status: nil) => SystemCommandFailure

Parameters

Returns

Back To Top

Instance Attributes

#command => Object (readonly)

Returns the value of attribute command.

#details => Object (readonly)

Returns the value of attribute details.

#exit_status => Object (readonly)

Returns the value of attribute exit_status.

Back To Top

Instance Methods

Back To Top


Back to Documentation | Reference | Cuprum | Cuprum::Cli | Cuprum::Cli::Errors