return `1`? why not throwing an exception? the console component will catch it and it will be displayed as an error.