forked from Alepha/Alepha
Exception problem debugging.
This commit is contained in:
16
Exception.h
16
Exception.h
@ -79,7 +79,7 @@ namespace Alepha::Hydrogen ::detail:: Exception_m
|
||||
{
|
||||
};
|
||||
|
||||
template< typename unique_handle, typename GradeType, typename ... Bases >
|
||||
template< Enumeration unique_handle, typename GradeType, typename ... Bases >
|
||||
class synthetic_exception
|
||||
: virtual public bases< GradeType, Bases... >
|
||||
{
|
||||
@ -332,33 +332,35 @@ namespace Alepha::Hydrogen ::detail:: Exception_m
|
||||
public:
|
||||
std::string_view resourceName() const noexcept final { return storage; }
|
||||
};
|
||||
class NamedResourceException : public virtual create_exception< struct named_resource_throwable, Exception >, virtual public NamedResourceInterface {};
|
||||
enum NamedResource;
|
||||
class NamedResourceException : public virtual create_exception< NamedResource, Exception >, virtual public NamedResourceInterface {};
|
||||
using AnyTaggedNamedResourceException= NamedResourceException::any_tagged_type;
|
||||
template< typename tag >
|
||||
using TaggedNamedResourceException= NamedResourceException::tagged_type< tag >;
|
||||
|
||||
using NamedResourceNotification= create_exception< struct named_resource_notification, Notification, NamedResourceException >;
|
||||
using NamedResourceNotification= create_exception< NamedResource, Notification, NamedResourceException >;
|
||||
using AnyTaggedNamedResourceNotification= NamedResourceNotification::any_tagged_type;
|
||||
template< typename tag >
|
||||
using TaggedNamedResourceNotification= NamedResourceNotification::tagged_type< tag >;
|
||||
|
||||
using NamedResourceError= create_exception< struct named_resource_exception, Error, NamedResourceException >;
|
||||
using NamedResourceError= create_exception< NamedResource, Error, NamedResourceException >;
|
||||
using AnyTaggedNamedResourceError= NamedResourceError::any_tagged_type;
|
||||
template< typename tag >
|
||||
using TaggedNamedResourceError= NamedResourceError::tagged_type< tag >;
|
||||
|
||||
using NamedResourceCriticalError= create_exception< struct named_resource_error, CriticalError, NamedResourceException >;
|
||||
using NamedResourceCriticalError= create_exception< NamedResource, CriticalError, NamedResourceException >;
|
||||
using AnyTaggedNamedResourceCriticalError= NamedResourceCriticalError::any_tagged_type;
|
||||
template< typename tag >
|
||||
using TaggedNamedResourceCriticalError= NamedResourceCriticalError::tagged_type< tag >;
|
||||
|
||||
using NamedResourceViolation= create_exception< struct named_resource_violation, Violation, NamedResourceException >;
|
||||
using NamedResourceViolation= create_exception< NamedResource, Violation, NamedResourceException >;
|
||||
using AnyTaggedNamedResourceViolation= NamedResourceViolation::any_tagged_type;
|
||||
template< typename tag >
|
||||
using TaggedNamedResourceViolation= NamedResourceViolation::tagged_type< tag >;
|
||||
|
||||
enum OutOfRange;
|
||||
class OutOfRangeException
|
||||
: virtual public create_exception< struct out_of_range_throwable, Exception > {};
|
||||
: virtual public create_exception< OutOfRange, Exception > {};
|
||||
using AnyTaggedOutOfRangeException= OutOfRangeException::any_tagged_type;
|
||||
template< typename tag >
|
||||
using TaggedOutOfRangeException= OutOfRangeException::tagged_type< tag >;
|
||||
|
||||
Reference in New Issue
Block a user