of

fun of(type: String, detail: String? = null): DidResolutionError

Builds an error with the registered DidErrorType.title for type.