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: Swift.Error © 2021 . All rights reserved. (Last updated: 2021-05-05) Generated by jazzy ♪♫ v0.13.6, a Realm project.