# MountFileResult

> **MountFileResult**<`S`> = { `error?`: `undefined`; `player`: [`Player`](/reference/api/rupamotion/player/interfaces/player/)<`S`>; } | { `error`: [`FileError`](/reference/api/rupamotion/player/file/interfaces/fileerror/); `player?`: `undefined`; }

What `mountFile` resolves to: `{ player }`, the mounted player, or `{ error }` (the root left as it was). Exactly one
of the two is set.

## Type Parameters

### S

`S` _extends_ `string` = `string`
