Loading...
Searching...
No Matches
PcpErrorVariableExpressionError Class Reference

Error when evaluating a variable expression. More...

#include <errors.h>

+ Inheritance diagram for PcpErrorVariableExpressionError:

Public Member Functions

PCP_API std::string ToString () const override
 Converts error to string message.
 
- Public Member Functions inherited from PcpErrorBase
virtual PCP_API ~PcpErrorBase ()
 Destructor.
 
virtual std::string ToString () const =0
 Converts error to string message.
 

Static Public Member Functions

static PcpErrorVariableExpressionErrorPtr New ()
 

Public Attributes

std::string expression
 The expression that was evaluated.
 
std::string expressionError
 The error generated during evaluation.
 
std::string context
 The context where the expression was authored, e.g.
 
SdfLayerHandle sourceLayer
 The source layer where the expression was authored.
 
SdfPath sourcePath
 The source path where the expression was authored.
 
- Public Attributes inherited from PcpErrorBase
const PcpErrorType errorType
 The error code.
 
PcpSite rootSite
 The site of the composed prim or property being computed when the error was encountered.
 

Additional Inherited Members

- Protected Member Functions inherited from PcpErrorBase
 PcpErrorBase (PcpErrorType errorType)
 Constructor.
 

Detailed Description

Error when evaluating a variable expression.

Definition at line 1015 of file errors.h.

Member Function Documentation

◆ ToString()

PCP_API std::string ToString ( ) const
overridevirtual

Converts error to string message.

Implements PcpErrorBase.

Member Data Documentation

◆ context

std::string context

The context where the expression was authored, e.g.

"sublayer", "reference", etc.

Definition at line 1031 of file errors.h.

◆ expression

std::string expression

The expression that was evaluated.

Definition at line 1024 of file errors.h.

◆ expressionError

std::string expressionError

The error generated during evaluation.

Definition at line 1027 of file errors.h.

◆ sourceLayer

SdfLayerHandle sourceLayer

The source layer where the expression was authored.

Definition at line 1034 of file errors.h.

◆ sourcePath

SdfPath sourcePath

The source path where the expression was authored.

This may be the absolute root path.

Definition at line 1038 of file errors.h.


The documentation for this class was generated from the following file: