LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
util::flags::errors::Exception Struct Reference

Base class for exceptions thrown by flag-related utilities. More...

#include "BitMask.h"

Inheritance diagram for util::flags::errors::Exception:
util::flags::errors::FlagNotDefined util::flags::errors::OutOfRange

Public Member Functions

 Exception (std::string msg="Flag error")
 
virtual const char * what () const noexcept override
 

Public Attributes

std::string message
 

Detailed Description

Base class for exceptions thrown by flag-related utilities.

Definition at line 368 of file BitMask.h.

Constructor & Destructor Documentation

util::flags::errors::Exception::Exception ( std::string  msg = "Flag error")
inlineexplicit

Definition at line 369 of file BitMask.h.

369 : message(msg) {}

Member Function Documentation

virtual const char* util::flags::errors::Exception::what ( ) const
inlineoverridevirtualnoexcept

Definition at line 370 of file BitMask.h.

References message().

370 { return message.c_str(); }

Member Data Documentation

std::string util::flags::errors::Exception::message

Definition at line 371 of file BitMask.h.


The documentation for this struct was generated from the following file: