Z3
Public Member Functions | Friends
exception Class Reference

Exception used to sign API usage errors. More...

Public Member Functions

 exception (char const *msg)
 
const char * msg () const
 

Friends

std::ostream & operator<< (std::ostream &out, exception const &e)
 

Detailed Description

Exception used to sign API usage errors.

Definition at line 83 of file z3++.h.

Constructor & Destructor Documentation

◆ exception()

exception ( char const *  msg)
inline

Definition at line 86 of file z3++.h.

86 :m_msg(msg) {}

Member Function Documentation

◆ msg()

const char* msg ( ) const
inline

Definition at line 87 of file z3++.h.

87 { return m_msg.c_str(); }

Referenced by z3::operator<<().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
exception const &  e 
)
friend

Definition at line 90 of file z3++.h.

90 { out << e.msg(); return out; }
z3::exception::msg
const char * msg() const
Definition: z3++.h:87