Junior — Senior
Creating an error without external package imports
livecode
Task condition
It is necessary to implement the handle() function so that it returns a value of type error, and it is not allowed to use import "errors" or any other external libraries.
package main
func main() {
println(handle())
}
func handle() error {
return &struct{ error }{}
}
The function should return an error using only the standard language features without additional imports.