nemoguardrails.colang.v2_x.runtime.errors

View as Markdown

Colang error types.

Module Contents

Classes

NameDescription
ColangParsingErrorRaised when there is invalid Colang syntax detected.
ColangRuntimeErrorRaised when there is a Colang related runtime exception.
ColangSyntaxErrorRaised when there is invalid Colang syntax detected.
ColangValueErrorRaised when there is an invalid value detected in a Colang expression.
LlmResponseErrorRaised when there is an issue with the lmm response.

API

class nemoguardrails.colang.v2_x.runtime.errors.ColangParsingError()
Exception

Bases: Exception

Raised when there is invalid Colang syntax detected.

class nemoguardrails.colang.v2_x.runtime.errors.ColangRuntimeError()
Exception

Bases: Exception

Raised when there is a Colang related runtime exception.

class nemoguardrails.colang.v2_x.runtime.errors.ColangSyntaxError()
Exception

Bases: Exception

Raised when there is invalid Colang syntax detected.

class nemoguardrails.colang.v2_x.runtime.errors.ColangValueError()
Exception

Bases: Exception

Raised when there is an invalid value detected in a Colang expression.

class nemoguardrails.colang.v2_x.runtime.errors.LlmResponseError()
Exception

Bases: Exception

Raised when there is an issue with the lmm response.