Exception: Utils::SchemaTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- Utils::SchemaTypeError
- Defined in:
- lib/notion_api/utils.rb
Instance Method Summary collapse
-
#initialize(msg = "Custom exception that is raised when an invalid property type is passed as a mapping.", exception_type = "schema_type") ⇒ SchemaTypeError
constructor
A new instance of SchemaTypeError.
Constructor Details
#initialize(msg = "Custom exception that is raised when an invalid property type is passed as a mapping.", exception_type = "schema_type") ⇒ SchemaTypeError
Returns a new instance of SchemaTypeError.
676 677 678 679 |
# File 'lib/notion_api/utils.rb', line 676 def initialize(msg = "Custom exception that is raised when an invalid property type is passed as a mapping.", exception_type = "schema_type") @exception_type = exception_type super(msg) end |