add fail code reference

Signed-off-by: Jonathan <jona.tw@gmail.com>