implemented error#postext property
implemented error instance in error class
updated document