StoryTeller.Engine.Frame.HasErrors C# (CSharp) 메소드

HasErrors() 공개 메소드

public HasErrors ( ) : bool
리턴 bool
        public bool HasErrors()
        {
            return _exceptionText != String.Empty;
        }

Usage Example

예제 #1
0
        public void collapse_with_a_single_child_brings_in_the_exception_text_and_removes_the_child()
        {
            var frame = new Frame();
            frame.Next().AppendException("some bad exception");

            frame.Collapse();

            frame.HasErrors().ShouldBeTrue();
            frame.ExceptionText.ShouldEqual("some bad exception");
        }
All Usage Examples Of StoryTeller.Engine.Frame::HasErrors