|  | EventFilterFactoryError Method (Regex, String) | 
 
            Create a filter for 
Error events. Events must match the specified pattern to be filtered.
            
 Examples
Examples
            Error(pattern: new Regex("weird.*message"), source: obj) // filter on pattern and source
            
 Remarks
RemarksPlease note that filtering on the source being
            null does NOT work (passing null disables the source filter).
            
 
    Namespace: 
   Akka.TestKit
    Assembly:
   Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
 Syntax
Syntaxpublic IEventFilterApplier Error(
	Regex pattern,
	string source = null
)
member Error : 
        pattern : Regex * 
        ?source : string 
(* Defaults:
        let _source = defaultArg source null
*)
-> IEventFilterApplier 
Parameters
- pattern
- Type: System.Text.RegularExpressionsRegex
 The event must match the pattern to be filtered.
- source (Optional)
- Type: SystemString
 >Optional. The event source.
Return Value
Type: 
IEventFilterApplierThe new filter
 See Also
See Also