{ "description": "Errors shared by the custom_hostnames operations. Declared once here rather than repeated in every operation's patch file (#421); each operation still lists the ones it returns in its own `errors` array.", "patches": [ { "op": "add", "path": "/shapes/com.cloudflare.custom_hostnames#CustomHostnameNotFound", "value": { "type": "structure", "members": { "code": { "target": "smithy.api#Integer" }, "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#error": "client", "com.cloudflare.protocols#errorMatchers": [ { "code": 1436 }, { "status": 404 } ] } } }, { "op": "add", "path": "/shapes/com.cloudflare.custom_hostnames#FallbackOriginNotFound", "value": { "type": "structure", "members": { "code": { "target": "smithy.api#Integer" }, "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#error": "client", "com.cloudflare.protocols#errorMatchers": [ { "status": 404 } ] } } }, { "op": "add", "path": "/shapes/com.cloudflare.custom_hostnames#Forbidden", "value": { "type": "structure", "members": { "code": { "target": "smithy.api#Integer" }, "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#error": "client", "com.cloudflare.protocols#errorMatchers": [ { "status": 403 } ] } } }, { "op": "add", "path": "/shapes/com.cloudflare.custom_hostnames#SaasAccessNotGranted", "value": { "type": "structure", "members": { "code": { "target": "smithy.api#Integer" }, "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#error": "client", "com.cloudflare.protocols#errorMatchers": [ { "code": 1456 } ] } } }, { "op": "add", "path": "/shapes/com.cloudflare.custom_hostnames#SaasQuotaNotAllocated", "value": { "type": "structure", "members": { "code": { "target": "smithy.api#Integer" }, "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#error": "client", "com.cloudflare.protocols#errorMatchers": [ { "code": 1404, "status": 403 } ] } } } ] }