vkdb
A time series database engine in C++.
Loading...
Searching...
No Matches
vkdb::RuntimeError Class Reference

Runtime error. More...

#include <interpreter.h>

Public Member Functions

 RuntimeError (Token token, const std::string &message) noexcept
 Construct a new Runtime Error object.
 
Token token () const noexcept
 Get the token.
 
std::string message () const noexcept
 Get the message.
 

Detailed Description

Runtime error.

Definition at line 219 of file interpreter.h.

Constructor & Destructor Documentation

◆ RuntimeError()

vkdb::RuntimeError::RuntimeError ( Token token,
const std::string & message )
noexcept

Construct a new Runtime Error object.

Parameters
tokenToken.
messageMessage.

Definition at line 5 of file interpreter.cpp.

Member Function Documentation

◆ message()

std::string vkdb::RuntimeError::message ( ) const
nodiscardnoexcept

Get the message.

Returns
std::string Message.

Definition at line 12 of file interpreter.cpp.

◆ token()

Token vkdb::RuntimeError::token ( ) const
nodiscardnoexcept

Get the token.

Returns
Token Token.

Definition at line 8 of file interpreter.cpp.


The documentation for this class was generated from the following files: