Documentation
¶
Index ¶
Constants ¶
View Source
const NON_SCHEMA_ERROR_ABSOLUTE_KEYWORD_LOCATION = "non-schema-error"
NON_SCHEMA_ERROR_ABSOLUTE_KEYWORD_LOCATION is the absolute keyword location for non-schema errors
Variables ¶
This section is empty.
Functions ¶
func GetNonSchemaError ¶
func GetNonSchemaError(result oscalValidation.ValidationResult) error
GetNonSchemaError extracts the system validation error If the result is not a system validation error or if there are no errors, return nil
func IsNonSchemaValidationError ¶
func IsNonSchemaValidationError(result oscalValidation.ValidationResult) bool
IsNonSchemaValidationError checks if the result is a system validation error
func NewNonSchemaValidationError ¶
func NewNonSchemaValidationError(err error, documentType string) oscalValidation.ValidationResult
NewNonSchemaValidationError creates a system validation error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.