switch invalid term from type to domain error

This commit is contained in:
Bennet Bleßmann
2024-08-04 15:16:37 +02:00
parent deed6fb984
commit 058b9c5e51
3 changed files with 3 additions and 5 deletions

View File

@@ -38,7 +38,6 @@ pub(crate) enum ValidType {
Callable,
Character,
Compound,
Directive,
Evaluable,
Float,
InByte,
@@ -74,7 +73,6 @@ impl ValidType {
// ValidType::PredicateIndicator => atom!("predicate_indicator"),
// ValidType::Variable => atom!("variable")
ValidType::TcpListener => atom!("tcp_listener"),
ValidType::Directive => atom!("directive"),
}
}
}