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

Exception thrown to convey that an invalid flag index was used. More...

#include "BitMask.h"

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

Public Member Functions

 OutOfRange (std::string msg="Flag out-of-range error")
 
virtual const char * what () const noexcept override
 

Public Attributes

std::string message
 

Detailed Description

Exception thrown to convey that an invalid flag index was used.

Definition at line 380 of file BitMask.h.

Constructor & Destructor Documentation

util::flags::errors::OutOfRange::OutOfRange ( std::string  msg = "Flag out-of-range error")
inlineexplicit

Definition at line 381 of file BitMask.h.

381 : Exception(msg) {}
Exception(std::string msg="Flag error")
Definition: BitMask.h:369

Member Function Documentation

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

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
inherited

Definition at line 371 of file BitMask.h.


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