Add inline function what check error.