instead of logger ```logger({warn: console.error })``` instead of BadRequest ``` (...params) => throw new Error(params) ```