# pygccxml.declarations.runtime_errors module

exception `declaration_not_found_t`(decl_matcher)

  Bases: `RuntimeError`

  Exception raised when the declaration could not be found

  `args`
  `with_traceback`()

    Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception `multiple_declarations_found_t`(decl_matcher)

  Bases: `RuntimeError`

  Exception raised when more than one declaration was found

  `args`
  `with_traceback`()

    Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception `visit_function_has_not_been_found_t`(visitor, decl_inst)

  Bases: `RuntimeError`

  Exception that is raised, from `apply_visitor()`, when a visitor could not be applied.

  `args`
  `with_traceback`()

    Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.