Exception: Pinspec::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Pinspec::Error
show all
- Defined in:
- lib/pinspec/errors.rb
Direct Known Subclasses
AmbiguousTarget, BlockRequired, EnvironmentRefused, NothingStableToPin, PinspecInternalError, ProbeFailure, SchemaFormatUnsupported, TargetNotFound, UnparsableSource, UnresolvableSetup, UnsupportedRailsVersion, VerifyFailed
Class Attribute Summary collapse
Instance Method Summary
collapse
Class Attribute Details
.exit_code ⇒ Object
8
9
10
|
# File 'lib/pinspec/errors.rb', line 8
def exit_code
@exit_code || 1
end
|
Instance Method Details
#exit_code ⇒ Object
13
14
15
|
# File 'lib/pinspec/errors.rb', line 13
def exit_code
self.class.exit_code
end
|