Function error

Summary

#include <src/c4/yml/common.hpp>

(1) void error(const char *msg, size_t msg_len, Location loc)

(2) void error(const char *msg, size_t msg_len)

(3) template <size_t N>
    void error(const char(&msg)[N], Location loc)

(4) template <size_t N>
    void error(const char(&msg)[N])

Function overload

Synopsis

#include <src/c4/yml/common.hpp>

void error(const char *msg, size_t msg_len, Location loc)

Description

trigger an error: call the current error callback.

Source

Lines 140-143 in src/c4/yml/common.cpp. Line 107 in src/c4/yml/common.hpp.

void error(const char *msg, size_t msg_len, Location loc)
{
    s_default_callbacks.error(msg, msg_len, loc);
}

Synopsis

#include <src/c4/yml/common.hpp>

void error(const char *msg, size_t msg_len)

Description

No description yet.

Source

Lines 109-112 in src/c4/yml/common.hpp.

inline void error(const char *msg, size_t msg_len)
{
    error(msg, msg_len, Location{});
}

Synopsis

#include <src/c4/yml/common.hpp>

template <size_t N>
void error(const char(&msg)[N], Location loc)

Description

No description yet.

Source

Lines 114-118 in src/c4/yml/common.hpp.

template<size_t N>
inline void error(const char (&msg)[N], Location loc)
{
    error(msg, N-1, loc);
}

Synopsis

#include <src/c4/yml/common.hpp>

template <size_t N>
void error(const char(&msg)[N])

Description

No description yet.

Source

Lines 120-124 in src/c4/yml/common.hpp.

template<size_t N>
inline void error(const char (&msg)[N])
{
    error(msg, N-1, Location{});
}


Discussions (1)

nerma 9 months ago 0

We organize the delivery of goods from China, Korea and Japan to the warehouses of the trading floors




Add Discussion as Guest

Log in