Update Maybe pattern documentation to accurately reflect error handling behavior. "When an error occurs, the error field is set to True, and the message field contains the error message." statement is not reflected in the given example.
Corrected the example output for MaybeUser to accurately set error to true and include an error message when extraction fails.
:rocket:
This description was created by Ellipsis for commit 5360a1dfd48f3fde317650641bd8986b489ac486
Summary:
Corrected the example output for MaybeUser in docs/concepts/maybe.md to accurately reflect error handling behavior.
Key points:
Updated docs/concepts/maybe.md to correct the example output for MaybeUser.
Set error to true and included an error message when extraction fails.
Update Maybe pattern documentation to accurately reflect error handling behavior. "When an error occurs, the error field is set to True, and the message field contains the error message." statement is not reflected in the given example.
MaybeUser
to accurately seterror
totrue
and include an error message when extraction fails.Summary:
Corrected the example output for
MaybeUser
indocs/concepts/maybe.md
to accurately reflect error handling behavior.Key points:
docs/concepts/maybe.md
to correct the example output forMaybeUser
.error
totrue
and included an error message when extraction fails.Generated with :heart: by ellipsis.dev