Ensures that the given error is a ServiceDefinitionError instance. If it's not, then a new ServiceDefinitionError is created with the given params.
@rest-vir/define-service
Ensures that the given error is a ServiceDefinitionError instance. If it's not, then a new ServiceDefinitionError is created with the given params.