NetFSMountURLSync or Async equivalent that throws

Is there a Swift equivalent of NetFSMountURLSync that throws instead of returning an error code as an Int32?

Or is there a better function?

I have this working, but it would be nice to get more information returned than just a numeric error number if the mount fails.