Skip to content

Commit

Permalink
adding vector of errors to param functions
Browse files Browse the repository at this point in the history
Signed-off-by: Marco A. Gutierrez <[email protected]>
  • Loading branch information
Marco A. Gutierrez committed May 5, 2022
1 parent 7baa3ee commit 4ea168c
Show file tree
Hide file tree
Showing 5 changed files with 810 additions and 165 deletions.
8 changes: 8 additions & 0 deletions include/sdf/Error.hh
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,14 @@ namespace sdf
/// \brief Merge include is unspported for the type of entity being
/// included, or the custom parser does not support merge includes.
MERGE_INCLUDE_UNSUPPORTED,

/// \brief Generic error type for parameters (values of SDFormat elements
/// or attributes).
PARAMETER_ERROR,

/// \brief The specified parameter (values of SDFormat elements
/// or attributes) type is unknown.
UNKNOWN_PARAMETER_TYPE,
};

class SDFORMAT_VISIBLE Error
Expand Down
Loading

0 comments on commit 4ea168c

Please sign in to comment.