How do I do the equivalent of

[@interface](https://micro.blog/interface) Foo : NSObject
-(id) init NS_UNAVAILABLE;
-(id) initWithError: (NSError**)outError;
@end

in Swift?

class Foo: NSObject {
    private override init() {}
    init() throws { ... }
}

doesn’t work :(