E0024#
Warning name: unused_error_type
The error type of this function is never used.
Erroneous example#
///|
fn greet() -> Unit raise {
println("Hello, world!")
}
Suggestion#
Remove the error type:
///|
fn greet() -> Unit {
println("Hello, world!")
}