Enum git_cliff_core::error::Error
source · pub enum Error {
Show 29 variants
IoError(Error),
Utf8Error(Utf8Error),
GitError(Error),
RepoError(String),
ConfigError(ConfigError),
LoggerError(String),
ParseError(Error),
GroupError(String),
ChangelogError(String),
TemplateParseError(String),
TemplateRenderError(String),
TemplateRenderDetailedError(String, String),
TemplateError(Error),
ArgumentError(String),
EmbeddedError(String),
DeserializeError(Error),
JsonError(Error),
RegexError(Error),
SystemTimeError(SystemTimeError),
IntParseError(TryFromIntError),
FieldError(String),
SemverError(Error),
HttpClientError(Error),
HttpClientMiddlewareError(Error),
HttpHeaderError(InvalidHeaderValue),
PaginationError(String),
UrlParseError(ParseError),
RemoteNotSetError,
DirsError(String),
}
Expand description
Library related errors that we are exposing to the rest of the workspaces.
Variants§
IoError(Error)
Error that may occur while I/O operations.
Utf8Error(Utf8Error)
Error that may occur when attempting to interpret a sequence of u8 as a string.
GitError(Error)
repo
only.Error variant that represents errors coming out of libgit2.
RepoError(String)
repo
only.Error variant that represents other repository related errors.
ConfigError(ConfigError)
Error that may occur while parsing the config file.
LoggerError(String)
A possible error while initializing the logger.
ParseError(Error)
When commit’s not follow the conventional commit structure we throw this error.
GroupError(String)
Error that may occur while grouping commits.
ChangelogError(String)
Error that may occur while generating changelog.
TemplateParseError(String)
Error that may occur while parsing the template.
TemplateRenderError(String)
Error that may occur while rendering the template.
TemplateRenderDetailedError(String, String)
Error that may occur while rendering the template.
TemplateError(Error)
Error that may occur during more general template operations.
ArgumentError(String)
Error that may occur while parsing the command line arguments.
EmbeddedError(String)
Error that may occur while extracting the embedded content.
DeserializeError(Error)
Errors that may occur when deserializing types from TOML format.
JsonError(Error)
Errors that may occur while de/serializing JSON format.
RegexError(Error)
Errors that may occur during parsing or compiling a regular expression.
SystemTimeError(SystemTimeError)
Error that may occur due to system time related anomalies.
IntParseError(TryFromIntError)
Error that may occur while parsing integers.
FieldError(String)
Error that may occur while processing parsers that define field and value matchers
SemverError(Error)
Error that may occur while parsing a SemVer version or version requirement.
HttpClientError(Error)
github
only.The errors that may occur when processing a HTTP request.
HttpClientMiddlewareError(Error)
github
only.The errors that may occur while constructing the HTTP client with middleware.
HttpHeaderError(InvalidHeaderValue)
github
only.A possible error when converting a HeaderValue from a string or byte slice.
PaginationError(String)
Error that may occur during handling pages.
UrlParseError(ParseError)
The errors that may occur while parsing URLs.
RemoteNotSetError
Error that may occur when a remote is not set.
DirsError(String)
Error that may occur while handling location of directories.