mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | Private Attributes
m::wasm::exception Struct Reference

#include <WasmDSL.hpp>

Inheritance diagram for m::wasm::exception:
[legend]
Collaboration diagram for m::wasm::exception:
[legend]

Public Types

enum  exception_t : uint64_t { M_EXCEPTION_LIST =(DECLARE_ENUM) }
 

Public Member Functions

 exception (exception_t type, std::string message)
 
const char * what () const noexcept override
 

Static Public Attributes

static constexpr const char *const names_ []
 

Private Attributes

exception_t type_
 
const std::string message_
 

Detailed Description

Definition at line 553 of file WasmDSL.hpp.

Member Enumeration Documentation

◆ exception_t

Enumerator
M_EXCEPTION_LIST 

Definition at line 556 of file WasmDSL.hpp.

Constructor & Destructor Documentation

◆ exception()

m::wasm::exception::exception ( exception_t  type,
std::string  message 
)
inlineexplicit

Definition at line 571 of file WasmDSL.hpp.

References m::wasm::move().

Member Function Documentation

◆ what()

const char * m::exception::what ( ) const
inlineoverridenoexceptinherited

Definition at line 17 of file exception.hpp.

References m::exception::message_.

Referenced by m::ImportDSV::execute(), and m::execute_statement().

Field Documentation

◆ message_

const std::string m::exception::message_
privateinherited

Definition at line 12 of file exception.hpp.

Referenced by m::exception::what().

◆ names_

constexpr const char* const m::wasm::exception::names_[]
staticconstexpr
Initial value:
= {
}
#define DECLARE_NAMES(TYPE)
Definition: WasmDSL.hpp:561

Definition at line 562 of file WasmDSL.hpp.

Referenced by m::wasm::detail::_throw(), and m::wasm::throw_interpreter().

◆ type_

exception_t m::wasm::exception::type_
private

Definition at line 568 of file WasmDSL.hpp.


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