Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 609 Bytes

File metadata and controls

29 lines (19 loc) · 609 Bytes

jsoncons::read_error

#include <jsoncons/ser_utils.hpp>

class read_error;


#### Accessors

    std::error_code code() const noexcept;
Returns an error code.

    const std::string& message_arg() const noexcept
Returns an explanatory string

    std::size_t line() const noexcept
Returns the line number to the end of the text where the exception occurred.
Line numbers start at 1.

    std::size_t column() const noexcept
Returns the column number to the end of the text where the exception occurred.
Column numbers start at 1.

    std::string message() const;
Returns an error message