E3045 Types Errors

Types

'or_return' requires a function that returns (T, Error); '%s()' does not return an error

When this occurs

This error is triggered when: 'or_return' requires a function that returns (t, error); '%s()' does not return an error

Example error message

error[E3045]: 'or_return' requires a function that returns (T, Error); '%s()' does not return an error

How to fix

Review the error message and check your code at the indicated location. The message describes what went wrong — fix the underlying issue it identifies.

Related errors

No related errors.