Skip to content

NameEncoderErrorCode ​

NameEncoderErrorCode ​

Machine-readable reason a distinguished-name encoder rejected its construction input.

ts
type NameEncoderErrorCode = "relative_distinguished_name_empty" | "unsupported_name_field" | "name_attribute_empty" | "name_attribute_too_long" | "name_attribute_lone_surrogate" | "invalid_country_code"

Released under the MIT License.