Implemented serialize error.