misc: Add error and use it

It can describe context clearly.