errors.h
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the Apache License, Version 2.0 (the "Apache License")
5 // with the following modification; you may not use this file except in
6 // compliance with the Apache License and the following modification to it:
7 // Section 6. Trademarks. is deleted and replaced with:
8 //
9 // 6. Trademarks. This License does not grant permission to use the trade
10 // names, trademarks, service marks, or product names of the Licensor
11 // and its affiliates, except as required to comply with Section 4(c) of
12 // the License and to reproduce the content of the NOTICE file.
13 //
14 // You may obtain a copy of the Apache License at
15 //
16 // http://www.apache.org/licenses/LICENSE-2.0
17 //
18 // Unless required by applicable law or agreed to in writing, software
19 // distributed under the Apache License with the above modification is
20 // distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21 // KIND, either express or implied. See the Apache License for the specific
22 // language governing permissions and limitations under the Apache License.
23 //
24 #ifndef PXR_USD_PCP_ERRORS_H
25 #define PXR_USD_PCP_ERRORS_H
26 
27 #include "pxr/pxr.h"
28 #include "pxr/usd/pcp/api.h"
29 #include "pxr/usd/pcp/site.h"
30 #include "pxr/usd/pcp/types.h"
31 #include "pxr/usd/sdf/layer.h"
33 #include "pxr/usd/sdf/path.h"
34 
35 #include "pxr/base/tf/enum.h"
36 
37 #include <memory>
38 #include <string>
39 #include <vector>
40 
41 PXR_NAMESPACE_OPEN_SCOPE
42 
43 // Forward declaration:
44 class PcpCache;
45 
50 enum PcpErrorType {
51  PcpErrorType_ArcCycle,
52  PcpErrorType_ArcPermissionDenied,
53  PcpErrorType_IndexCapacityExceeded,
54  PcpErrorType_ArcCapacityExceeded,
55  PcpErrorType_ArcNamespaceDepthCapacityExceeded,
56  PcpErrorType_InconsistentPropertyType,
57  PcpErrorType_InconsistentAttributeType,
58  PcpErrorType_InconsistentAttributeVariability,
59  PcpErrorType_InternalAssetPath,
60  PcpErrorType_InvalidPrimPath,
61  PcpErrorType_InvalidAssetPath,
62  PcpErrorType_InvalidInstanceTargetPath,
63  PcpErrorType_InvalidExternalTargetPath,
64  PcpErrorType_InvalidTargetPath,
65  PcpErrorType_InvalidReferenceOffset,
66  PcpErrorType_InvalidSublayerOffset,
67  PcpErrorType_InvalidSublayerOwnership,
68  PcpErrorType_InvalidSublayerPath,
69  PcpErrorType_InvalidVariantSelection,
70  PcpErrorType_MutedAssetPath,
71  PcpErrorType_OpinionAtRelocationSource,
72  PcpErrorType_PrimPermissionDenied,
73  PcpErrorType_PropertyPermissionDenied,
74  PcpErrorType_SublayerCycle,
75  PcpErrorType_TargetPermissionDenied,
76  PcpErrorType_UnresolvedPrimPath
77 };
78 
79 // Forward declarations:
80 class PcpErrorBase;
81 typedef std::shared_ptr<PcpErrorBase> PcpErrorBasePtr;
82 typedef std::vector<PcpErrorBasePtr> PcpErrorVector;
83 
88 class PcpErrorBase {
89 public:
91  PCP_API virtual ~PcpErrorBase();
93  virtual std::string ToString() const = 0;
94 
97 
103 
106  bool ShouldReportAtMostOnce() const {
107  // Capacity errors are reported at most once. (If these limits are
108  // reached, there is likely to be a very large number of whatever
109  // caused it.)
110  return errorType == PcpErrorType_IndexCapacityExceeded ||
111  errorType == PcpErrorType_ArcCapacityExceeded ||
112  errorType == PcpErrorType_ArcNamespaceDepthCapacityExceeded;
113  }
114 
115 protected:
118 };
119 
121 
122 // Forward declarations:
123 class PcpErrorArcCycle;
124 typedef std::shared_ptr<PcpErrorArcCycle> PcpErrorArcCyclePtr;
125 
131 public:
133  static PcpErrorArcCyclePtr New();
135  PCP_API ~PcpErrorArcCycle();
137  PCP_API virtual std::string ToString() const;
138 
139  PcpSiteTracker cycle;
140 
141 private:
144 };
145 
147 
148 // Forward declarations:
150 typedef std::shared_ptr<PcpErrorArcPermissionDenied>
151  PcpErrorArcPermissionDeniedPtr;
152 
159 public:
161  static PcpErrorArcPermissionDeniedPtr New();
165  PCP_API virtual std::string ToString() const;
166 
173 
174 private:
177 };
178 
180 
181 // Forward declarations:
183 typedef std::shared_ptr<PcpErrorCapacityExceeded> PcpErrorCapacityExceededPtr;
184 
190 public:
192  static PcpErrorCapacityExceededPtr New(PcpErrorType errorType);
194  PCP_API ~PcpErrorCapacityExceeded();
196  PCP_API virtual std::string ToString() const;
197 
198 private:
200  PcpErrorCapacityExceeded(PcpErrorType errorType);
201 };
202 
204 
205 class PcpErrorInconsistentPropertyBase : public PcpErrorBase {
206 public:
208  PCP_API virtual ~PcpErrorInconsistentPropertyBase();
209 
211  std::string definingLayerIdentifier;
213  SdfPath definingSpecPath;
214 
216  std::string conflictingLayerIdentifier;
218  SdfPath conflictingSpecPath;
219 
220 protected:
222  PcpErrorInconsistentPropertyBase(TfEnum errorType);
223 };
224 
226 
227 // Forward declarations:
229 typedef std::shared_ptr<PcpErrorInconsistentPropertyType>
230  PcpErrorInconsistentPropertyTypePtr;
231 
237  public PcpErrorInconsistentPropertyBase {
238 public:
240  static PcpErrorInconsistentPropertyTypePtr New();
244  PCP_API virtual std::string ToString() const;
245 
250 
251 private:
254 };
255 
257 
258 // Forward declarations:
260 typedef std::shared_ptr<PcpErrorInconsistentAttributeType>
261  PcpErrorInconsistentAttributeTypePtr;
262 
268  public PcpErrorInconsistentPropertyBase {
269 public:
271  static PcpErrorInconsistentAttributeTypePtr New();
275  PCP_API virtual std::string ToString() const;
276 
281 
282 private:
285 };
286 
288 
289 // Forward declarations:
291 typedef std::shared_ptr<PcpErrorInconsistentAttributeVariability>
292  PcpErrorInconsistentAttributeVariabilityPtr;
293 
299  public PcpErrorInconsistentPropertyBase {
300 public:
302  static PcpErrorInconsistentAttributeVariabilityPtr New();
306  PCP_API virtual std::string ToString() const;
307 
312 
313 private:
316 };
317 
319 
320 // Forward declarations:
322 typedef std::shared_ptr<PcpErrorInvalidPrimPath>
323  PcpErrorInvalidPrimPathPtr;
324 
330 public:
332  static PcpErrorInvalidPrimPathPtr New();
334  PCP_API ~PcpErrorInvalidPrimPath();
336  PCP_API virtual std::string ToString() const;
337 
340 
343 
346  SdfLayerHandle sourceLayer;
347 
348  PcpArcType arcType;
349 
350 private:
353 };
354 
356 
357 // Forward declarations:
358 class PcpErrorInvalidAssetPathBase;
359 typedef std::shared_ptr<PcpErrorInvalidAssetPathBase>
360  PcpErrorInvalidAssetPathBasePtr;
361 
362 class PcpErrorInvalidAssetPathBase : public PcpErrorBase {
363 public:
365  PCP_API ~PcpErrorInvalidAssetPathBase();
366 
368  PcpSite site;
369 
371  SdfPath targetPath;
372 
374  std::string assetPath;
375 
377  std::string resolvedAssetPath;
378 
381  SdfLayerHandle sourceLayer;
382 
383  PcpArcType arcType;
384 
386  std::string messages;
387 
388 protected:
390  PcpErrorInvalidAssetPathBase(TfEnum errorType);
391 };
392 
394 
395 // Forward declarations:
397 typedef std::shared_ptr<PcpErrorInvalidAssetPath>
398  PcpErrorInvalidAssetPathPtr;
399 
404 class PcpErrorInvalidAssetPath : public PcpErrorInvalidAssetPathBase {
405 public:
407  static PcpErrorInvalidAssetPathPtr New();
409  PCP_API ~PcpErrorInvalidAssetPath();
411  PCP_API virtual std::string ToString() const;
412 
413 private:
416 };
417 
419 
420 // Forward declarations:
422 typedef std::shared_ptr<PcpErrorMutedAssetPath>
423  PcpErrorMutedAssetPathPtr;
424 
429 class PcpErrorMutedAssetPath : public PcpErrorInvalidAssetPathBase {
430 public:
432  static PcpErrorMutedAssetPathPtr New();
434  PCP_API ~PcpErrorMutedAssetPath();
436  PCP_API virtual std::string ToString() const;
437 
438 private:
441 };
442 
444 
445 // Forward declarations:
447 typedef std::shared_ptr<PcpErrorTargetPathBase>
448  PcpErrorTargetPathBasePtr;
449 
455 public:
457  PCP_API ~PcpErrorTargetPathBase();
458 
466  SdfLayerHandle layer;
467 
473 
474 protected:
476 };
477 
479 
480 // Forward declarations:
482 typedef std::shared_ptr<PcpErrorInvalidInstanceTargetPath>
483  PcpErrorInvalidInstanceTargetPathPtr;
484 
491 public:
493  static PcpErrorInvalidInstanceTargetPathPtr New();
497  PCP_API virtual std::string ToString() const;
498 
499 private:
502 };
503 
505 
506 // Forward declarations:
508 typedef std::shared_ptr<PcpErrorInvalidExternalTargetPath>
509  PcpErrorInvalidExternalTargetPathPtr;
510 
517 public:
519  static PcpErrorInvalidExternalTargetPathPtr New();
523  PCP_API virtual std::string ToString() const;
524 
525  PcpArcType ownerArcType;
526  SdfPath ownerIntroPath;
527 
528 private:
531 };
532 
534 
535 // Forward declarations:
537 typedef std::shared_ptr<PcpErrorInvalidTargetPath>
538  PcpErrorInvalidTargetPathPtr;
539 
545 public:
547  static PcpErrorInvalidTargetPathPtr New();
549  PCP_API ~PcpErrorInvalidTargetPath();
551  PCP_API virtual std::string ToString() const;
552 
553 private:
556 };
557 
559 
560 // Forward declarations:
562 typedef std::shared_ptr<PcpErrorInvalidSublayerOffset>
563  PcpErrorInvalidSublayerOffsetPtr;
564 
570 public:
572  static PcpErrorInvalidSublayerOffsetPtr New();
576  PCP_API virtual std::string ToString() const;
577 
578  SdfLayerHandle layer;
579  SdfLayerHandle sublayer;
580  SdfLayerOffset offset;
581 
582 private:
585 };
586 
588 
589 // Forward declarations:
591 typedef std::shared_ptr<PcpErrorInvalidReferenceOffset>
592  PcpErrorInvalidReferenceOffsetPtr;
593 
599 public:
601  static PcpErrorInvalidReferenceOffsetPtr New();
605  PCP_API virtual std::string ToString() const;
606 
608  SdfLayerHandle sourceLayer;
609 
612 
614  std::string assetPath;
615 
618 
621 
622  PcpArcType arcType;
623 
624 private:
627 };
628 
630 
631 // Forward declarations:
633 typedef std::shared_ptr<PcpErrorInvalidSublayerOwnership>
634  PcpErrorInvalidSublayerOwnershipPtr;
635 
641 public:
643  static PcpErrorInvalidSublayerOwnershipPtr New();
647  PCP_API virtual std::string ToString() const;
648 
649  std::string owner;
650  SdfLayerHandle layer;
651  SdfLayerHandleVector sublayers;
652 
653 private:
656 };
657 
659 
660 // Forward declarations:
662 typedef std::shared_ptr<PcpErrorInvalidSublayerPath>
663  PcpErrorInvalidSublayerPathPtr;
664 
670 public:
672  static PcpErrorInvalidSublayerPathPtr New();
676  PCP_API virtual std::string ToString() const;
677 
678  SdfLayerHandle layer;
679  std::string sublayerPath;
680  std::string messages;
681 
682 private:
685 };
686 
688 
689 // Forward declarations:
691 typedef std::shared_ptr<PcpErrorOpinionAtRelocationSource>
692  PcpErrorOpinionAtRelocationSourcePtr;
693 
699 public:
701  static PcpErrorOpinionAtRelocationSourcePtr New();
705  PCP_API virtual std::string ToString() const;
706 
707  SdfLayerHandle layer;
708  SdfPath path;
709 
710 private:
713 };
714 
716 
717 // Forward declarations:
719 typedef std::shared_ptr<PcpErrorPrimPermissionDenied>
720  PcpErrorPrimPermissionDeniedPtr;
721 
727 public:
729  static PcpErrorPrimPermissionDeniedPtr New();
733  PCP_API virtual std::string ToString() const;
734 
739 
740 private:
743 };
744 
746 
747 // Forward declarations:
749 typedef std::shared_ptr<PcpErrorPropertyPermissionDenied>
750  PcpErrorPropertyPermissionDeniedPtr;
751 
757 public:
759  static PcpErrorPropertyPermissionDeniedPtr New();
763  PCP_API virtual std::string ToString() const;
764 
765  SdfPath propPath;
766  SdfSpecType propType;
767  std::string layerPath;
768 
769 private:
772 };
773 
775 
776 // Forward declarations:
778 typedef std::shared_ptr<PcpErrorSublayerCycle> PcpErrorSublayerCyclePtr;
779 
785 public:
787  static PcpErrorSublayerCyclePtr New();
789  PCP_API ~PcpErrorSublayerCycle();
791  PCP_API virtual std::string ToString() const;
792 
793  SdfLayerHandle layer;
794  SdfLayerHandle sublayer;
795 
796 private:
799 };
800 
802 
803 // Forward declarations:
805 typedef std::shared_ptr<PcpErrorTargetPermissionDenied>
806  PcpErrorTargetPermissionDeniedPtr;
807 
813 public:
815  static PcpErrorTargetPermissionDeniedPtr New();
819  PCP_API virtual std::string ToString() const;
820 
821 private:
824 };
825 
827 
828 // Forward declarations:
830 typedef std::shared_ptr<PcpErrorUnresolvedPrimPath>
831  PcpErrorUnresolvedPrimPathPtr;
832 
838 public:
840  static PcpErrorUnresolvedPrimPathPtr New();
842  PCP_API ~PcpErrorUnresolvedPrimPath();
844  PCP_API virtual std::string ToString() const;
845 
848 
851  SdfLayerHandle sourceLayer;
852 
854  SdfLayerHandle targetLayer;
855 
858 
859  PcpArcType arcType;
860 
861 private:
864 };
865 
867 PCP_API
868 void PcpRaiseErrors(const PcpErrorVector &errors);
869 
870 PXR_NAMESPACE_CLOSE_SCOPE
871 
872 #endif // PXR_USD_PCP_ERRORS_H
static PcpErrorInvalidInstanceTargetPathPtr New()
Returns a new error object.
PcpSite site
The site where the invalid arc was expressed.
Definition: errors.h:168
virtual PCP_API std::string ToString() const
Converts error to string message.
Invalid asset paths used by references or payloads.
Definition: errors.h:404
static PcpErrorInvalidSublayerPathPtr New()
Returns a new error object.
PcpSite privateSite
The private, invalid target of the arc.
Definition: errors.h:170
virtual PCP_API std::string ToString() const
Converts error to string message.
SdfPath owningPath
The path to the property where the target was authored.
Definition: errors.h:462
SdfLayerHandle layer
The layer containing the property where the target was authored.
Definition: errors.h:466
SdfSpecType definingSpecType
The type of the defining spec.
Definition: errors.h:247
PCP_API ~PcpErrorCapacityExceeded()
Destructor.
Exceeded the capacity for composition arcs at a single site.
Definition: errors.h:189
virtual PCP_API std::string ToString() const
Converts error to string message.
References or payloads that use invalid layer offsets.
Definition: errors.h:598
static PcpErrorInvalidSublayerOwnershipPtr New()
Returns a new error object.
static PcpErrorPropertyPermissionDeniedPtr New()
Returns a new error object.
static PcpErrorInvalidSublayerOffsetPtr New()
Returns a new error object.
virtual PCP_API std::string ToString() const
Converts error to string message.
Arcs that were not made between PcpNodes because of permission restrictions.
Definition: errors.h:158
static PcpErrorOpinionAtRelocationSourcePtr New()
Returns a new error object.
virtual PCP_API std::string ToString() const
Converts error to string message.
PCP_API ~PcpErrorInvalidSublayerOwnership()
Destructor.
SdfLayerHandle targetLayer
The target layer of the arc.
Definition: errors.h:854
PCP_API ~PcpErrorPrimPermissionDenied()
Destructor.
PcpSiteStr site
The site where the invalid arc was expressed.
Definition: errors.h:847
static PcpErrorInvalidReferenceOffsetPtr New()
Returns a new error object.
static PcpErrorArcCyclePtr New()
Returns a new error object.
PCP_API ~PcpErrorInvalidPrimPath()
Destructor.
static PcpErrorCapacityExceededPtr New(PcpErrorType errorType)
Returns a new error object.
PcpSite site
The site where the invalid arc was expressed.
Definition: errors.h:339
PcpCache is the context required to make requests of the Pcp composition algorithm and cache the resu...
Definition: cache.h:93
SdfLayerHandle sourceLayer
The source layer of the spec that caused this arc to be introduced.
Definition: errors.h:346
virtual PCP_API std::string ToString() const
Converts error to string message.
A site specifies a path in a layer stack of scene description.
Definition: site.h:46
static PcpErrorMutedAssetPathPtr New()
Returns a new error object.
Attributes that have specs with conflicting variability.
Definition: errors.h:298
Invalid target or connection path authored in an inherited class that points to an instance of that c...
Definition: errors.h:490
PCP_API ~PcpErrorTargetPathBase()
Destructor.
virtual PCP_API std::string ToString() const
Converts error to string message.
An enum class that records both enum type and enum value.
Definition: enum.h:139
Layers that recursively sublayer themselves.
Definition: errors.h:784
Asset paths that could not be both resolved and loaded.
Definition: errors.h:669
virtual PCP_API std::string ToString() const
Converts error to string message.
TfToken definingValueType
The value type from the defining spec.
Definition: errors.h:278
virtual PCP_API std::string ToString() const
Converts error to string message.
Layers with illegal opinions about private prims.
Definition: errors.h:726
static PcpErrorPrimPermissionDeniedPtr New()
Returns a new error object.
PCP_API ~PcpErrorTargetPermissionDenied()
Destructor.
static PcpErrorInvalidPrimPathPtr New()
Returns a new error object.
static PcpErrorUnresolvedPrimPathPtr New()
Returns a new error object.
Properties that have specs with conflicting definitions.
Definition: errors.h:236
SdfLayerOffset offset
The invalid layer offset expressed on the arc.
Definition: errors.h:620
virtual PCP_API std::string ToString() const
Converts error to string message.
static PcpErrorInvalidExternalTargetPathPtr New()
Returns a new error object.
Opinions were found at a relocation source path.
Definition: errors.h:698
static PcpErrorInvalidTargetPathPtr New()
Returns a new error object.
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:87
A "string-based" version of PcpSite.
Definition: site.h:81
PCP_API ~PcpErrorSublayerCycle()
Destructor.
Sublayers that use invalid layer offsets.
Definition: errors.h:569
PCP_API ~PcpErrorInconsistentAttributeType()
Destructor.
Paths with illegal opinions about private targets.
Definition: errors.h:812
virtual std::string ToString() const =0
Converts error to string message.
SdfPath targetPath
The invalid target or connection path that was authored.
Definition: errors.h:460
const TfEnum errorType
The error code.
Definition: errors.h:96
static PcpErrorArcPermissionDeniedPtr New()
Returns a new error object.
Base class for composition errors related to target or connection paths.
Definition: errors.h:454
PCP_API ~PcpErrorUnresolvedPrimPath()
Destructor.
Invalid target or connection path.
Definition: errors.h:544
PCP_API ~PcpErrorInvalidReferenceOffset()
Destructor.
Invalid target or connection path in some scope that points to an object outside of that scope.
Definition: errors.h:516
SdfPath sourcePath
The source path of the spec that caused this arc to be introduced.
Definition: errors.h:611
static PcpErrorInconsistentAttributeTypePtr New()
Returns a new error object.
static PcpErrorInconsistentAttributeVariabilityPtr New()
Returns a new error object.
Invalid prim paths used by references or payloads.
Definition: errors.h:329
virtual PCP_API std::string ToString() const
Converts error to string message.
PcpArcType arcType
The type of arc.
Definition: errors.h:172
PCP_API ~PcpErrorInconsistentPropertyType()
Destructor.
virtual PCP_API std::string ToString() const
Converts error to string message.
TfToken conflictingValueType
The value type from the conflicting spec.
Definition: errors.h:280
Muted asset paths used by references or payloads.
Definition: errors.h:429
PCP_API ~PcpErrorInvalidTargetPath()
Destructor.
SdfLayerHandle sourceLayer
The source layer of the spec that caused this arc to be introduced.
Definition: errors.h:608
PCP_API ~PcpErrorInvalidSublayerPath()
Destructor.
A path value used to locate objects in layers or scenegraphs.
Definition: path.h:290
static PcpErrorInvalidAssetPathPtr New()
Returns a new error object.
PcpSiteStr rootSite
The site of the composed prim or property being computed when the error was encountered.
Definition: errors.h:102
PcpSiteStr site
The site where the invalid arc was expressed.
Definition: errors.h:736
static PcpErrorSublayerCyclePtr New()
Returns a new error object.
SdfPath primPath
The target prim path of the arc that is invalid.
Definition: errors.h:342
virtual PCP_API std::string ToString() const
Converts error to string message.
static PcpErrorTargetPermissionDeniedPtr New()
Returns a new error object.
Asset paths that could not be both resolved and loaded.
Definition: errors.h:837
PcpErrorBase(TfEnum errorType)
Constructor.
SdfVariability
An enum that identifies variability types for attributes.
Definition: types.h:179
static PcpErrorInconsistentPropertyTypePtr New()
Returns a new error object.
Sibling layers that have the same owner.
Definition: errors.h:640
PCP_API ~PcpErrorMutedAssetPath()
Destructor.
virtual PCP_API std::string ToString() const
Converts error to string message.
SdfPath targetPath
Target prim path of the arc.
Definition: errors.h:617
virtual PCP_API std::string ToString() const
Converts error to string message.
virtual PCP_API std::string ToString() const
Converts error to string message.
Layers with illegal opinions about private properties.
Definition: errors.h:756
PCP_API ~PcpErrorArcCycle()
Destructor.
SdfSpecType
An enum that specifies the type of an object.
Definition: types.h:91
Attributes that have specs with conflicting definitions.
Definition: errors.h:267
virtual PCP_API ~PcpErrorBase()
Destructor.
virtual PCP_API std::string ToString() const
Converts error to string message.
std::vector< PcpSiteTrackerSegment > PcpSiteTracker
Represents a single path through the composition tree.
Definition: types.h:130
PCP_API ~PcpErrorOpinionAtRelocationSource()
Destructor.
virtual PCP_API std::string ToString() const
Converts error to string message.
bool ShouldReportAtMostOnce() const
Return true if this type of error should be reported at most once for a given prim.
Definition: errors.h:106
PCP_API ~PcpErrorInvalidExternalTargetPath()
Destructor.
PCP_API ~PcpErrorPropertyPermissionDenied()
Destructor.
Arcs between PcpNodes that form a cycle.
Definition: errors.h:130
SdfPath composedTargetPath
The target or connection path in the composed scene.
Definition: errors.h:472
PCP_API ~PcpErrorInconsistentAttributeVariability()
Destructor.
SdfLayerHandle sourceLayer
The source layer of the spec that caused this arc to be introduced.
Definition: errors.h:851
PCP_API ~PcpErrorInvalidSublayerOffset()
Destructor.
Represents a time offset and scale between layers.
Definition: layerOffset.h:61
SdfVariability conflictingVariability
The variability of the conflicting spec.
Definition: errors.h:311
PCP_API ~PcpErrorInvalidInstanceTargetPath()
Destructor.
PcpSiteStr privateSite
The private, invalid target of the arc.
Definition: errors.h:738
virtual PCP_API std::string ToString() const
Converts error to string message.
SdfVariability definingVariability
The variability of the defining spec.
Definition: errors.h:309
PCP_API ~PcpErrorArcPermissionDenied()
Destructor.
SdfPath unresolvedPath
The prim path that cannot be resolved on the target layer stack.
Definition: errors.h:857
virtual PCP_API std::string ToString() const
Converts error to string message.
PCP_API ~PcpErrorInvalidAssetPath()
Destructor.
virtual PCP_API std::string ToString() const
Converts error to string message.
std::string assetPath
Target asset path of the arc.
Definition: errors.h:614
SdfSpecType conflictingSpecType
The type of the conflicting spec.
Definition: errors.h:249
SdfSpecType ownerSpecType
The spec type of the property where the target was authored.
Definition: errors.h:464
virtual PCP_API std::string ToString() const
Converts error to string message.
Base class for all error types.
Definition: errors.h:88
PcpArcType
Describes the type of arc connecting two nodes in the prim index.
Definition: types.h:46