11 lines
245 B
C++
11 lines
245 B
C++
#include "Kanimaji/Error.hpp"
|
|
|
|
#include <format>
|
|
|
|
namespace Kanimaji
|
|
{
|
|
ParseError::ParseError(std::size_t current, std::string_view message)
|
|
: Error(std::format("[At: {}] {}", current, message))
|
|
, mPosition(current)
|
|
{}
|
|
}
|