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-11-20) Generated by jazzy ♪♫ v0.13.6, a Realm project.