14 lines
244 B
C++
14 lines
244 B
C++
|
#pragma once
|
||
|
#include <iostream>
|
||
|
#include <string>
|
||
|
|
||
|
namespace lily {
|
||
|
struct error {
|
||
|
std::string message;
|
||
|
|
||
|
error(std::string m) : message(std::move(m)) {}
|
||
|
|
||
|
void print() { std::cout << message << std::endl; }
|
||
|
};
|
||
|
}
|