-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nasadem] handle weirdly named tiles
- Loading branch information
1 parent
42f057a
commit 8270250
Showing
2 changed files
with
33 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
use std::path::PathBuf; | ||
use thiserror::Error; | ||
|
||
#[derive(Error, Debug)] | ||
pub enum NasademError { | ||
#[error("")] | ||
Io(#[from] std::io::Error), | ||
|
||
#[error("invalid HGT name, {0}")] | ||
#[error("invalid HGT name {0}")] | ||
HgtName(std::path::PathBuf), | ||
|
||
#[error("invalid HGT file len, {0}")] | ||
HgtLen(u64), | ||
#[error("invalid HGT file len {0} for {1}")] | ||
HgtLen(u64, PathBuf), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters