validationResult

package
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL