adds error code to error object in SourceBufferExtensions append/remove events