Skip to content

acl/io/clip_reader_error.h

#include "acl/io/clip_reader_error.h"

The errors of the clip reader.

clip_reader_error

struct clip_reader_error : public sjson::ParserError

An error of the clip reader. It extends the errors of the SJSON parser.

clip_reader_error::@043301337122072165157136231053313302115156071033

enum @043301337122072165157136231053313302115156071033 : uint32_t
{
    UnsupportedVersion = sjson::ParserError::Last,
    NoParentBoneWithThatName,
    NoBoneWithThatName,
    UnsignedIntegerExpected,
    InvalidCompressionSetting,
    InvalidAdditiveClipFormat,
    PositiveValueExpected,
    InvalidTrackType,
    InvalidTrackInterpolator,
    InvalidTransformSpace,
};

The error codes that the clip reader adds to the codes of the SJSON parser.

clip_reader_error::clip_reader_error

clip_reader_error(const sjson::ParserError& e)

Constructs an error from an SJSON parser error.

clip_reader_error::get_description

virtual const char* get_description() const override

Returns a description of the error.