mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-04 11:04:07 +02:00
remove EntityParseError::NoSuchProperty
Optional semantics should not be folded into the error type.
This commit is contained in:
parent
3858ba46de
commit
bfc70d63cd
2 changed files with 6 additions and 6 deletions
|
|
@ -124,8 +124,6 @@ pub enum InvalidNeighbourError {
|
|||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum EntityParseError {
|
||||
#[error("no such property: {0}")]
|
||||
NoSuchProperty(&'static str),
|
||||
#[error("wrong number of elements")]
|
||||
ElementCount,
|
||||
#[error(transparent)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue