StoryTeller.Model.InvalidFixture.InvalidFixture C# (CSharp) Method

InvalidFixture() public method

public InvalidFixture ( Type innerType, Exception ex ) : System
innerType System.Type
ex System.Exception
return System
        public InvalidFixture(Type innerType, Exception ex)
        {
            Key = innerType.Name.Replace("Fixture", "");

            var message = "Fixture {0} could not be loaded".ToFormat(innerType.FullName);
            _error = new GrammarError {error = ex.ToString(), message = message};
        }