Use GgplotError instead of Exception