Make check code returns fail reason.