$nsid, 'error' => $error] ); } /** * Create exception for malformed schema. */ public static function malformed(string $nsid, string $reason): self { return static::withContext( "Malformed schema for {$nsid}: {$reason}", ['nsid' => $nsid, 'reason' => $reason] ); } }