Exception: TriCoreDB::FeatureNotGranted
- Defined in:
- lib/tricoredb/errors.rb
Overview
The server did not grant a capability this call needs. Raised before anything is sent.
Instance Attribute Summary collapse
-
#feature ⇒ String
readonly
The feature name, e.g.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(feature, message) ⇒ FeatureNotGranted
constructor
A new instance of FeatureNotGranted.
Methods inherited from Error
Constructor Details
#initialize(feature, message) ⇒ FeatureNotGranted
Returns a new instance of FeatureNotGranted.
80 81 82 83 |
# File 'lib/tricoredb/errors.rb', line 80 def initialize(feature, ) super() @feature = feature end |
Instance Attribute Details
#feature ⇒ String (readonly)
Returns the feature name, e.g. SERVER_PARAMS.
78 79 80 |
# File 'lib/tricoredb/errors.rb', line 78 def feature @feature end |