Exception: Synthra::Errors::ContextError

Inherits:
ValidationError show all
Defined in:
lib/synthra/errors.rb

Overview

Context separation error

Raised when DSL elements are used in the wrong context.

Examples:

HTTP directive in schema

# ContextError: HTTP directives are not allowed inside schema definitions

Constant Summary collapse

ERROR_CODE =
"CONTEXT_ERROR"

Constructor Details

This class inherits a constructor from Synthra::Errors::ValidationError