Using an alias for service's error type to avoid expanded/inline templates