Gatling simulation separate instantation from execution

Hi gatling user group,

Is there a way to separate creation from initialization and running the simulation class?

For example insead of

class TestSimulation extends Simulation {
// your simulation code goes here
}

to

class TestSimulation extends Simulation {
def run() {
// your simulation code goes here
}
}

By using this first approach when creating simulation if something goes wrong (some exception is thrown) I don’t get any exception stack because it’s when trying to create class and all cause exceptions are omitted

Thanks,
Miroslav