Skip to content

Commit 00a3dc6

Browse files
committed
add USD-specific error codes
Signed-off-by: Ashton Larkin <42042756+adlarkin@users.noreply.github.com>
1 parent 57edaf7 commit 00a3dc6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

include/sdf/Error.hh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,18 @@ namespace sdf
147147
/// \brief Merge include is unspported for the type of entity being
148148
/// included.
149149
MERGE_INCLUDE_UNSUPPORTED,
150+
151+
/// \brief Parsing a SDF object to a USD object failed.
152+
/// This error type is specific to the USD component.
153+
USD_SDF_TO_USD_PARSING_ERROR,
154+
155+
/// \brief The pxr::SdfPath does not point to a valid USD prim.
156+
/// This error type is specific to the USD component.
157+
USD_INVALID_PRIM_PATH,
158+
159+
/// \brief A pxr API was not able to be applied to a USD prim.
160+
/// This error type is specific to the USD component.
161+
USD_FAILED_PRIM_API_APPLY,
150162
};
151163

152164
class SDFORMAT_VISIBLE Error

0 commit comments

Comments
 (0)