Fix passing errors to the encoder and decoder functions.
2 files changed