Save and replace profiles via system file dialog; buttons after Best; prefs unchanged on import. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
321 B
Go
10 lines
321 B
Go
package filedialog
|
|
|
|
import "errors"
|
|
|
|
// ErrCanceled is returned when the user closes the dialog without choosing a file.
|
|
var ErrCanceled = errors.New("filedialog: canceled")
|
|
|
|
// ErrUnsupported is returned on platforms without a native picker.
|
|
var ErrUnsupported = errors.New("filedialog: not supported on this platform")
|