Class: NxtSchema::Application::Errors::SchemaError
- Inherits:
-
String
- Object
- String
- NxtSchema::Application::Errors::SchemaError
- Defined in:
- lib/nxt_schema/application/errors/schema_error.rb
Instance Attribute Summary collapse
-
#application ⇒ Object
readonly
Returns the value of attribute application.
Instance Method Summary collapse
-
#initialize(application:, message:) ⇒ SchemaError
constructor
A new instance of SchemaError.
Constructor Details
#initialize(application:, message:) ⇒ SchemaError
Returns a new instance of SchemaError.
5 6 7 8 |
# File 'lib/nxt_schema/application/errors/schema_error.rb', line 5 def initialize(application:, message:) super() @application = application end |
Instance Attribute Details
#application ⇒ Object (readonly)
Returns the value of attribute application.
10 11 12 |
# File 'lib/nxt_schema/application/errors/schema_error.rb', line 10 def application @application end |