Could you provide an example how to combine a state_t and error_t monad, please? What I'm looking for is that my function can return either `{ok, {Result, NewState}}`, `{ok NewState}` or `{error, Error}`.