Exceptions.h
Go to the documentation of this file.
1 #pragma once
3 
4 #include <stdexcept>
5 
6 namespace lanelet {
13 class IOError : public LaneletMultiError {
15 };
16 
20 class FileNotFoundError : public IOError {
21  using IOError::IOError;
22 };
23 
28  using IOError::IOError;
29 };
30 
36  using IOError::IOError;
37 };
38 
42 class ParseError : public IOError {
43  using IOError::IOError;
44 };
45 
49 class WriteError : public IOError {
50  using IOError::IOError;
51 };
52 
58  using ParseError::ParseError;
59 };
60 
66  using WriteError::WriteError;
67 };
68 
73  using IOError::IOError;
74 };
75 } // namespace lanelet
lanelet::UnsupportedExtensionError
Error for an unsupported extension.
Definition: Exceptions.h:27
Exceptions.h
lanelet
lanelet::WriteError
Error thown if some error occurd during writing of a map.
Definition: Exceptions.h:49
lanelet::DefaultProjectionNotAllowedError
Thrown when a user attempts to load a map with georeferenced data without providing an origin.
Definition: Exceptions.h:72
lanelet::LaneletMultiError
lanelet::IOError
Generic error for all errors in this module.
Definition: Exceptions.h:13
lanelet::ReverseProjectionError
Thrown by the projector classes if projection from x/y to lat/lon fails.
Definition: Exceptions.h:65
lanelet::FileNotFoundError
Error for not existent filepaths.
Definition: Exceptions.h:20
lanelet::UnsupportedIOHandlerError
Error thrown if an unsupported handler (parser/writer) has been specified.
Definition: Exceptions.h:35
lanelet::ParseError
Error thrown if some error occured during the parsing of the file.
Definition: Exceptions.h:42
lanelet::ForwardProjectionError
Thrown by the projector classes if projection from lat/lon to x/y fails.
Definition: Exceptions.h:57
lanelet::LaneletMultiError::LaneletMultiError
LaneletMultiError(const std::string &err)


lanelet2_io
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:26:03