I would reimplement it by adding special class to `Gitlab::Error`. 
That said the following checkin will fail if user passes `params` keys as strings.