HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
errors.h
Go to the documentation of this file.
1 //
2 // Copyright 2021 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_USD_USD_ERRORS_H
8 #define PXR_USD_USD_ERRORS_H
9 
10 /// \file usd/errors.h
11 
12 #include "pxr/pxr.h"
13 #include "pxr/usd/usd/api.h"
14 #include "pxr/base/tf/exception.h"
15 
17 
18 /// \class UsdExpiredPrimAccessError
19 ///
20 /// Usd throws this exception when code attempts to access an invalid
21 /// (i.e. expired or null) prim.
23 {
24 public:
26  USD_API virtual ~UsdExpiredPrimAccessError() override;
27 };
28 
30 
31 #endif
virtual USD_API ~UsdExpiredPrimAccessError() override
#define USD_API
Definition: api.h:23
TF_API TfBaseException(std::string const &message)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74