You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In other cases, `ExpectedValidOption` might not be enough debugging information. You may want custom handling (or simply more specific errors) when something goes wrong during decoding.
30
30
31
-
You can get this by extending the underlying `DecodeBase.failure` type with extra constructors. You use this extension to build your own custom `Decode.ParseError`, which in turn can be used to build a custom decode module on top of `DecodeBase`.
31
+
You can get this by extending the underlying `Decode.ParseError.base` type with extra constructors. You use this extension to build your own custom `Decode.ParseError`, which in turn can be used to build a custom decode module on top of `DecodeBase`.
32
32
33
33
This may sound overwhelming, but the whole thing can be accomplished in about 6 lines of code:
0 commit comments