Extensions The following extensions are available globally. String Turn a string into an error, so that it can be thrown as an exception. This should only be used in tests. See more Declaration Swift extension String: Error © 2020 . All rights reserved. (Last updated: 2020-09-25) Generated by jazzy ♪♫ v0.13.5, a Realm project.