name
is defined as public var name:String
. So it's a public property and no getter method is defined. So you can't override the getter. To change the name you can just assign your name after calling super's constructor.
public function MyError() {
super("Some description.");
name = "MyError";
}