Lines Matching refs:Error
36 class Error {
48 Error(std::string msg, Type type) : msg_(std::move(msg)), type_(type) {} in Error() function
49 ~Error() = default;
50 DEFAULT_MOVE_SEMANTIC(Error);
51 DEFAULT_COPY_SEMANTIC(Error);
72 std::optional<Error> SetAttribute(std::string_view attribute) in SetAttribute()
96 std::optional<Error> SetAttributeValue(std::string_view attribute, std::string_view value) in SetAttributeValue()
138 virtual std::optional<Error> ValidateData() in ValidateData()
148 virtual std::optional<Error> Validate(std::string_view attribute) const = 0;
150 …virtual std::optional<Error> Validate(std::string_view attribute, std::string_view value) const = …
152 virtual std::optional<Error> StoreValue(std::string_view attribute, std::string_view value) in StoreValue()
165 virtual std::optional<Error> Store(std::string_view attribute) in Store()
186 std::optional<Error> ValidateSize(std::string_view value) const;
210 std::optional<Error> ValidateData() override;
213 std::optional<Error> Store(std::string_view attribute) override;
215 std::optional<Error> StoreValue(std::string_view attribute, std::string_view value) override;
276 std::optional<Error> AddValue(
394 …std::optional<Metadata::Error> MeetExpRecordAttribute(std::string_view attribute, std::string_view…
395 …std::optional<Metadata::Error> MeetExpIdAttribute(std::string_view attribute, std::string_view val…
396 …std::optional<Metadata::Error> MeetExpElementNameAttribute(std::string_view attribute, std::string…
397 …std::optional<Metadata::Error> MeetExpElementTypeAttribute(std::string_view attribute, std::string…
398 …std::optional<Metadata::Error> MeetExpElementArrayComponentTypeAttribute(std::string_view attribut…
400 …std::optional<Metadata::Error> MeetExpElementValueAttribute(std::string_view attribute, std::strin…
496 std::optional<Error> Validate(std::string_view attribute) const override;
498 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override;
532 std::optional<Error> StoreValue(std::string_view attribute, std::string_view value) override;
534 std::optional<Error> Validate(std::string_view attribute) const override;
536 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override;
565 std::optional<Error> Validate(std::string_view attribute) const override;
567 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override;
580 std::optional<Error> Validate(std::string_view attribute) const override;
582 … std::optional<Error> Validate(std::string_view attribute, std::string_view value) const override;