Add error decoration