Sets the error type.
            There are two types of error codes: client and server.
            Error codes are prefixed with Client. For example: Client.AuthFailure.
            
 Declaration Syntax
 Declaration Syntax| C# | 
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public Error WithType( string type )
 Parameters
 Parameters- type (String)
- The error type.
 Return Value
 Return Valuethis instance