read()返回的错误回调给逻辑层

1. read()返回的错误回调给逻辑层
2.

Signed-off-by: spriteray <spriteray@gmail.com>