Lines Matching defs:Error
36 class Error {
48 Error(std::string msg, Type type) : msg_(std::move(msg)), type_(type) {}
49 ~Error() = default;
50 DEFAULT_MOVE_SEMANTIC(Error);
51 DEFAULT_COPY_SEMANTIC(Error);
72 std::optional<Error> SetAttribute(const std::string_view &attribute)
96 std::optional<Error> SetAttributeValue(const std::string_view &attribute, const std::string_view &value)
138 virtual std::optional<Error> ValidateData()
148 virtual std::optional<Error> Validate(const std::string_view &attribute) const = 0;
150 virtual std::optional<Error> Validate(const std::string_view &attribute,
153 virtual std::optional<Error> StoreValue(const std::string_view &attribute, const std::string_view &value)
166 virtual std::optional<Error> Store(const std::string_view &attribute)
187 std::optional<Error> ValidateSize(const std::string_view &value) const;
250 std::optional<Error> ValidateData() override;
253 std::optional<Error> Store(const std::string_view &attribute) override;
255 std::optional<Error> StoreValue(const std::string_view &attribute, const std::string_view &value) override;
317 std::optional<Error> AddValue(
435 std::optional<Metadata::Error> MeetExpRecordAttribute(const std::string_view &attribute,
437 std::optional<Metadata::Error> MeetExpIdAttribute(const std::string_view &attribute, const std::string_view &value);
438 std::optional<Metadata::Error> MeetExpElementNameAttribute(const std::string_view &attribute,
440 std::optional<Metadata::Error> MeetExpElementTypeAttribute(const std::string_view &attribute,
442 std::optional<Metadata::Error> MeetExpElementArrayComponentTypeAttribute(const std::string_view &attribute,
444 std::optional<Metadata::Error> MeetExpElementValueAttribute(const std::string_view &attribute,
546 std::optional<Error> Validate(const std::string_view &attribute) const override;
548 std::optional<Error> Validate(const std::string_view &attribute, const std::string_view &value) const override;
582 std::optional<Error> StoreValue(const std::string_view &attribute, const std::string_view &value) override;
584 std::optional<Error> Validate(const std::string_view &attribute) const override;
586 std::optional<Error> Validate(const std::string_view &attribute, const std::string_view &value) const override;
613 std::optional<Error> Validate(const std::string_view &attribute) const override;
615 std::optional<Error> Validate(const std::string_view &attribute, const std::string_view &value) const override;
628 std::optional<Error> Validate(const std::string_view &attribute) const override;
630 std::optional<Error> Validate(const std::string_view &attribute, const std::string_view &value) const override;