defineErrors → route() → spec() → mountSpec() + CLI codegen.
defineErrors
route()
spec()
mountSpec()
route
spec
mountSpec