mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* Add WeakEntityReference * Use NetEntity * release notes * A * Fix merge conflicts * comments * A * Add network serialization test * Add ToPrettyString support for WeakEntityReference? * inheritdoc * Add GetWeakReference methods * Not-nullable too * Make EntitySystem proxy method signatures match EntityManager * Add TryGetEntity * interface * fix test * De-ref GetWeakReference methods --------- Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
12 lines
486 B
C#
12 lines
486 B
C#
using System;
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Interfaces;
|
|
|
|
namespace Robust.Shared.Serialization.Manager.Exceptions;
|
|
|
|
public sealed class CopyToFailedException<T> : Exception
|
|
{
|
|
public override string Message
|
|
=> $"Failed performing CopyTo for Type {typeof(T)}. Did you forget to create a {nameof(ITypeCopier<T>)} implementation? Or maybe {typeof(T)} should have the {nameof(CopyByRefAttribute)}?";
|
|
}
|