Suggest to use `Error` instead of `Warning` as throwing exception is critical.