Advertisement
tinyevil

Untitled

Nov 29th, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. :| FileOpenResult : Variant<int, String>
  2. //any int is ok (file handle)
  3. variant1(_)
  4. //only a specific list of errors is ok
  5. variant2("not_found")
  6. variant2("not_accessible")
  7. variant2("device_busy")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement